Clarifications on Custom component in adobe LC

Hi,
I am new to custom component. I just know when a desired result is not provided by stadard activities by adobe lc then we need to create custom components.
1.Could anyone post me a small sample.
2.How to use it in adobe lc as acitivity to get desired result.
3.I have used invoke web services activity to get the result but what is other way to build a custom component.
4.if i have a java class. which accept input parameters and results into some output. How do i use this java class as custom object.
if possible please post study material on this.
thanks in advance
regards
Sunil Gupta

My first bit of advice would be to get the DSC development plugin from Labs.  It will make your development and deployment much easier
http://labs.adobe.com/technologies/lcwcdtool/
The official documentation is pretty good around DSCs:
http://help.adobe.com/en_US/livecycle/9.0/programLC/help/index.htm?content=001404.html
I wrote a couple of articles on DSC development ages ago.  Its a bit out of date (before the tooling was available) but it may help you with the basics:
http://www.adobe.com/devnet/livecycle/articles/dsc_development.html
http://www.adobe.com/devnet-archive/livecycle/articles/dsc_development_pt2.html

Similar Messages

  • How do you reference a valueObject located in main to a custom component created in Catalyst?

    Hello,
    I have been working with the Catalyst Beta 2 / Flash Builder beta trying to create a photogallery and have hit a little bit of a snag, try as I might I can't seem to find the answer anywhere. I am still new to Flex so please excuse me if this is a basic question, I have been trying to understand more about Flex to make my designs in Catalyst better.
    I found this video on Adobe TV: http://tv.adobe.com/watch/rich-internet-applications-101/ria-stepbystep-16-binding-a-data- service-to-flash-builder-components/
    It's wonderful and I have the datalist I created in Catalyst working with the XML file I generated but I designed my little photogallery a bit diffrent, I created a Custom Component in Catalyst so that when you click an item on the DataList it pop's up a little screen with a larger photo in on it, rather then having an image in the main application. Now my problem seems to be that I can't refrence the valueObject I created with the wizard as it's in my Main.mxml file, is there a way to refrence it from my Custom Component so the larger image will display? Is there a way to let the component know which item on the dataList in the main application is selected and display the correct image?
    I should also say I really enjoy working with the Beta for both Flash Builder / Catalyst, thanks for the hard work!
    Thanks for the help,
    Chris

    I am afraid you cannot bind to static properties in Windows Store Apps. It is simply not supported.
    You could create a proxy class that exposes the static command property and bind to this property of an instance of the proxy object:
    http://stackoverflow.com/questions/14186175/bind-to-a-static-field-in-windows-8-xaml
    http://stackoverflow.com/questions/4708711/how-can-i-use-the-xstatic-extension-for-phone7-silverlight-apps
    You will of course have to create an instance of the proxy object. There is no way around this.
    Please remember to mark helpful posts as answer to close your threads and then start a new thread if you have a new question.

  • Error when installing a Custom Component

    Hi there,
    I wrote a custom component and built the according jar-file. The next step was to import the jar-file into the workbench.
    When I tried to do so the following error occurred (workbench .log file):
    !ENTRY com.adobe.DSC_Admin_UI 4 4 2008-01-15 16:05:43.418
    !MESSAGE install of C:\tmp\adobe-components\adobe-component.jar failed
    !STACK 0
    ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.
    Caused by: java.io.FileNotFoundException: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ArchiveStore\306\at\integrata\livecycle\component\Boot strapImpl.class (The system cannot find the path specified)
    Caused by: java.io.FileNotFoundException: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ArchiveStore\306\at\integrata\livecycle\component\Boot strapImpl.class (The system cannot find the path specified)
    The problem is, that the workbench is not running on the same computer as the ES server. When I extract the jar-file manually into the considered directory on the server everything works fine.
    Is this a bug or even not possible to import components from a remote workbench?
    kind regards
    Michael

    Hy all,
    I have been having the same problem.
    I think the cause with me is that I added libraries my component needs manually into the jar-file of my component and sometimes I added the component.xml file manually into the component-jar. I use 7Zip for this but every I did that I could not get the component to install correctly, unless I unpacked it manually in the temp-dir.
    I believe this is happens because when I manually place files in the jar file with a tool like 7Zip they are automatically being compressed and the jar-file of a component must not be compressed.
    So therefore I imported everything correctly in my Eclipse-project and now when I Export my component to a jar-file, everything is included and I don't have to place files manually into the jar-file of my component.
    When I install a component created like that I don't have any problems.
    Hope this helps for you to.
    Regards,
    RonnyR

  • Custom component: porting from lc 8.0 to lc 8.2

    hello
    i developed a java pojo custom component for lc 8.0, essentially it connected to a db and returned a complex object. Now the environment has been upgraded to lc 8.2 . I've loaded my processes (which include my custom component) on the new environment. When i start the process , my component reaches the finally block where i've logged the db connections closing. Immediatly after the system crushes with the following error(i haven't added the whole stack trace because its huge): 
    2009-04-10 13:11:21,422 WARN  [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] [com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] Adding multiple last resources is disallowed. Current resource is org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@2ac6fb1
    2009-04-10 13:11:21,431 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract com.adobe.pof.GenericObject com.adobe.pof.omapi.POFObjectManagerLocal.writeObject(com.adobe.pof.GenericObject,com.ado be.idp.Context) throws com.adobe.pof.POFException, causedBy:
    org.jboss.util.NestedSQLException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: 643401bb:6b45:49df1884:29cb status: ActionStatus.ABORT_ONLY >); - nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: 643401bb:6b45:49df1884:29cb status: ActionStatus.ABORT_ONLY >))
        at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:94 )
        at com.adobe.pof.ConnectionWrapper.getConnection(ConnectionWrapper.java:45)
        at com.adobe.pof.ConnectionWrapper.prepareStatement(ConnectionWrapper.java:179)
        at com.adobe.pof.adapter.JDBCAdapter.prepareStatement(JDBCAdapter.java:5299)
    After that jboss get stucked, printing exceptions every 2 minutes, and i need to stop and restart it. I don't see anything wrong with my code: i get the datasource object, i get a coonettin from it, make my queries/updates and finally i close the connection.
    googling i've found this might be due to datasource item being local-tx-datasource instead of xa-datasource, but all datasources are of this kind.
    Any hint about this problem will be greatly appreciated
    thank you in advance
    Stefano

    hi Steve
    thank you for your answer. Unluckly i'm not using mysql but oracle 9i (or 10i i don't know since i'm just a poor programmer). Anyway i did a test : i've bypassed the datasource file , hardcoding the connection parameters in my custom component and it has got executed without problem, then process has crushed again on a query done by some adobe component. there are many adobe sql component instances to read/write from the same schema my compnent uses, so i suppose the problem is inside datasource configuration. There's a datasource sample for oracle too?
    I cannot give much details, since the new system has been recently installed and i don't know all info (i think jboss is 4.2 but i'm not sure)
    thanks again
    regards
    Stfano

  • Using Flash Catalyst Custom Component in Flash Builder

    I created a custom component in  Flash Catalyst that is intended to be used in the way that one would use  a BorderContainer in Flex/Flash Builder. Can anyone advise me how I  might go about doing this?
    many thanks,
    Mark

    And also there's a lot of new content to help every one started at http://www.adobe.com/devnet
    If you're a CF/Flex developer you're gonna enjoy the new content here too
    http://www.adobe.com/devnet/flex/flex_cf.html?devcon=f3

  • Including .as files in a custom component

    Can anyone tell me how to include an actionscript file in a
    custom component when the .as file resides one level above the
    component?
    All of my custom components are in the "src/components"
    directory and the actionscript file I need to include is one level
    up in the "src" directory. I assume this can be done easily, but I
    am new to Flex and can't get it working. I have tried ../ ,
    parentDocument, parentApplication, Application.application, and
    fully referencing the file from C: with no luck.
    The ../ version seems to point to the right place but my
    Problems panel is showing
    "1068: Unable to open included file:
    C:\CFusionMX7\wwwroot\c21hp\flex\src\yahooMap2.as"
    Any help would be greatly appreciated.

    @Ryan:
    Thanks for your reply. For type property in Inspectable metadata tag: http://livedocs.adobe.com/flex/gumbo/html/WS2db454920e96a9e51e63e3d11c0bf680e1-7ffe.html#W S2db454920e96a9e51e63e3d11c0bf69084-7a21
    It can have values like Boolean, Array, String etc. I am trying to have a custom one. But I notice that I have to close the property tag, even if it is a string or html for e.g. text property in TextInput, I have to write something like this:
    <mx:TextInput>
            <mx:htmlText>
                <![CDATA[
                ]]>
            </mx:htmlText>
        </mx:TextInput>
    and
    <mx:TextInput>
            <mx:text>something</mx:text>
        </mx:TextInput>
    But I still think, it should be there. Not sure
    Chetan

  • Actionscript in a Custom Component

    Can anyone tell me if you can put actionscript inside of a
    custom component? It throws errors anytime I try to do it.
    I have a horizontallist component that is being populated
    with an itemrenderer which holds an image component. The
    horizontallist takes fifteen images and loads them into the
    itemrenderers, creating a scrollable image slideshow.
    I am trying to get it to check to see if the image loaded
    successfully, and if not, either set the visibility of that image
    component to false, or remove it.
    Here is the code for the horizontallist:
    <mx:HorizontalList
    id="imageBar"
    itemRenderer="listingImage"
    height="330"
    width="925"
    paddingLeft="5"
    paddingRight="5"
    rollOverColor="#FFFFFF"
    selectionColor="#FFFFFF"
    >
    And the code for the custom component.....
    <mx:Canvas
    xmlns:mx="
    http://www.adobe.com/2006/mxml"
    height="320"
    width="400"
    verticalScrollPolicy="off"
    horizontalScrollPolicy="off"
    >
    <mx:Image
    source="
    http://www.urladdress.com/idx/rmls/images/resimages/{data.id}_{data.imageNum}.jpg"
    height="300" scaleContent="true"
    />
    </mx:Canvas>
    I'm pretty new to Flex, so any help would be great!

    just insert the script tags in the custom component and place
    your actionscript within those script tags. So in your case just
    insert the following script tags above the image control...
    <mx:Script>
    <![CDATA[
    // actionscript goes here
    ]]>
    </mx:Script>
    - Tony

  • FocusOut in a custom component

    Hi.
    I made a custom component using a Canvas with a TextInput and a Button inside.
    I need to make a focusOut event to be called when the focus go out of my custom component, but not be called when the focus change beetween the inputtext and the button inside the canvas.
    How can I do that?
    Tanks.

    Hi this is simple.Please try this sample.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:Cn="*" creationComplete="Init()">
        <fx:Script>
            <![CDATA[
            import flash.events.Event;
            import mx.controls.Alert;
            private function Init():void
                objTemp.addEventListener("FocusOut", FocusOutHandler);
            private function FocusOutHandler(event:Event):void
                trace("CanCom's focus out");
            ]]>
        </fx:Script>
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
    <s:HGroup>
        <s:TextInput></s:TextInput>
        <Cn:CanCom id="objTemp"></Cn:CanCom>
        <s:TextInput></s:TextInput>
    </s:HGroup>
    </s:Application>
    _____________________________________ CanCom.mxml ______________________________________
    <?xml version="1.0" encoding="utf-8"?>
    <s:HGroup xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/halo">
        <fx:Script>
            <![CDATA[
            import flash.events.Event;   
            private function FocusOutHandler(event:Event):void
                try{
                if (this.getFocus() == btnTemp || this.getFocus().parent.parent == txtTemp)
                    return;
                }catch (err:Error) { }
                dispatchEvent(new Event("FocusOut"));
            ]]>
        </fx:Script>
        <s:TextInput id="txtTemp" focusOut="FocusOutHandler(event)"></s:TextInput>
        <s:Button id="btnTemp" focusOut="FocusOutHandler(event)"></s:Button>   
    </s:HGroup>

  • Component property declaration in a Custom Component

    Hello everyone,
    I have a question related to a custom component. I will define a use case and how I want to define a property.
    e.g.: I develop a custom component using Flex Library Project, with all manifest.xml, design.xml, locale etc. My component name is CustomList, now in this component, I define a property with following getter/setter.
    //  defaultState
    private var _defaultState:CustomState;
    [Bindable( "defaultStateChange" )]
    //I have tried defining type property as CustomState, doesn't works
    [Inspectable( category="General",  name="Default State" )]
    public function get defaultState():CustomState
         return _defaultState
    public function set defaultState( v:CustomState ):void
         if ( _defaultState!= v)
              _defaultState = v
              dispatchEvent(new Event("defaultStateChange"))
    Here, CustomState extends MXMLObjectAdapter and defines a id property and few other property. and In mxml I can define it like this,
    <CustomList ....>
         <defaultState>
              <CustomState label="" icon="" />
         </defaultState>
    </CustomList>
    Now, what I want to achieve is, I want to define property something like this:
    <CustomList ....>
         <defaultState label="" icon=""/>
    </CustomList>
    Can someone tell me how to achieve this and point me to some description about it.
    Thanks in advance.
    Chetan Sachdev

    @Ryan:
    Thanks for your reply. For type property in Inspectable metadata tag: http://livedocs.adobe.com/flex/gumbo/html/WS2db454920e96a9e51e63e3d11c0bf680e1-7ffe.html#W S2db454920e96a9e51e63e3d11c0bf69084-7a21
    It can have values like Boolean, Array, String etc. I am trying to have a custom one. But I notice that I have to close the property tag, even if it is a string or html for e.g. text property in TextInput, I have to write something like this:
    <mx:TextInput>
            <mx:htmlText>
                <![CDATA[
                ]]>
            </mx:htmlText>
        </mx:TextInput>
    and
    <mx:TextInput>
            <mx:text>something</mx:text>
        </mx:TextInput>
    But I still think, it should be there. Not sure
    Chetan

  • Flex Print Job not working with custom component

    Hi All,
    I have to print pages with header, body and footer. So the thought process was to create a custom component fro header, footer and body. Header component is based on Box, Body is a renderer (which will have fix value of items - and will decide the number of possible pages) and footer is again based on Box.
    But when i created a simple Custom component like this for header
    <?xml version="1.0" encoding="utf-8"?>
      <mx:VBox  xmlns:fx=http://ns.adobe.com/mxml/2009
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/mx">
    <fx:Declarations>
    <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <mx:HBox>      <mx:Label id="testLabel" text="Test Container"/>
    </mx:HBox> 
    </mx:VBox>
    Then when i try to add this to FlexPrintJob, and save it as 'xps' to see the print output, i get error message that this file is in use or damaged.
        var myPrintJob:FlexPrintJob = new FlexPrintJob();
      if(!myPrintJob.start()){
          return;
    var header:Header = new Header();
    header.width = myPrintJob.pageWidth;
    header.visible = false;
    FlexGlobals.topLevelApplication.addChild(panierPrintHeader);
    myPrintJob.addObject(header);
    myPrintJob.send();
    FlexGlobals.topLevelApplication.removeChild(panierPrintHeader);
     But this does not work and i get the above mentioned exception. Now when i not use the custom component and just have a label or HBox or anything on stage before the print functionality is invoked, it works fine. And this too haapens only if you have a mxml component, i tried by creating a new Label component using actionscript and then provide the same to the printJob, which did not work either. I need help on this, else i will have to take print functionality to server side(Java) which has some business implications, the reason why i am spending time on flex for printing. 
    Thanks and Regards,
    Jigar
    Looks like custom component print is not working fine with flex or i am doing something terribly wrong.
    Looking forward for help.

    Is there nobody in flex community who can help on this....
    Looks like a toothless class that adobe actionscript team has provided, which is not liked across much

  • Unselecting Data List in custom component

    Hi,
    I am trying to make a dropdown menu.  I've followed instructions here: http://cookbooks.adobe.com/post_Creating_a_custom_combobox_component_using_Flash_C-17234.h tml and it works well but there is a problem.
    Here's what I did.
    Created a custom component with 2 parts.  Toggle Button and Datalist.  then I set up the states appropriately.  When I select a specific item on the datalist, I go to a different screen state but I share that button across the states (it's basically a menu option).  That part works great.
    Here's my problem:
    On my datalist, I have a "on select" event which takes me to the right screen state.  However, When I come back to that component, the datalist still has that item selected.
    Is there a way to "deselect" something on the datalist when I move from one state to another?  Or to force the selectedIndex to be -1 whenever the datalist appears?
    Thanks!
    - Jana

    In which part of the timeline did you add this action? Inside the datalist? I don't see the property "selected index"

  • AddChild Not working in a loop with custom component

    Hi,
    I have a custom component 'form component'
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Form xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%">
        <mx:Script>
            <![CDATA[
                import mx.controls.Alert;
                import flash.net.navigateToURL;
                public var documentName:String;
                public var documentLocation:String;
                public var documentDescription:String;
                public var documentLevel:String;
                private function openLink():void
                    var urlRequest:URLRequest=new URLRequest(documentLocation);
                    navigateToURL(urlRequest,"_blank");
            ]]>
        </mx:Script>
        <mx:FormItem width="100%" height="100%" paddingRight="10" borderThickness="10">
            <mx:VBox width="100%" cornerRadius="10" borderThickness="2" borderStyle="solid" borderColor="#D5D2D2">
                <mx:ApplicationControlBar width="100%"  fillAlphas="[1.0, 0.52]" fillColors="[#FFFFFF, #B3CDD9]">
                    <mx:LinkButton id="eachDocumentName" label="Name" click="openLink()" textAlign="left" width="50%" />
                    <mx:Label id="eachDocumentLevel" text="Level" textAlign="right" width="50%"/>
                </mx:ApplicationControlBar>
                <mx:Label id="eachDocumentDescription" width="100%" text="Description" paddingTop="5"  paddingLeft="10"/>
                <mx:Label height="10" width="100%" />
            </mx:VBox>
        </mx:FormItem>
    </mx:Form>
    and I Want to add this component inside a VBox for a loop dynamically like
    Script Code:
    private function showDocuments(event:ResultEvent):void
                    var documentList:ArrayCollection=event.result.root.documents.document;
                    for(var i:int=0;i<documentList.length;i++)
                        var documentName:String=documentList[i].name.toString();
                        var documentDescription:String=documentList[i].description.toString();
                        var documentLevel:String=documentList[i].level.toString();
                        var documentLocation:String=documentList[i].location.toString();
                        createChildForFilePanel(documentName,documentLevel,documentDescription,documentLocation);
                private function createChildForFilePanel(documentName:String,documentLevel:String,documentDescription:Stri ng,documentLocation:String):void
                        Alert.show("function Called");
                        var documentListing:DocumentListing=new DocumentListing();
                        documentListing.percentWidth=100;
                        documentListing.percentHeight=100;
                        documentListing.eachDocumentName.label=documentName;
                        documentListing.eachDocumentLevel.text=documentLevel;
                        documentListing.eachDocumentDescription.text=documentDescription;
                        documentListing.documentLocation=documentLocation;
                        filePanel.addChild(documentListing);
    MX: code
      <mx:VBox id="filePanel" label="File Content" width="100%" height="100%" borderThickness="0" >
          </mx:VBox>
    This is actually Not working.. Am I doing anything wrong. I have included the component in the namespace..
    Thanks In Advance,
    Piyush

    Its working now. The Solution to it what I found was whatever you are Adding To the Parent Component. The Parent Component should be created in the action script.
    Worked for me :-)
    Thanks,
    Piyush

  • Error invoking a custom component in a Process.

    Hi,
    I've build a custom component that uses Output ES services.
    If i run it as a Java app all runs well, he generates the output pdf files and output report .xml file.
    If i import it as a component into Livecycle ES and use it in a process i get the following error:
    2008-05-20 11:35:52,390 INFO [STDOUT] com.adobe.livecycle.output.exception.OutputException: java.lang.ClassCastException: com.adobe.livecycle.output.client.OutputResult
    2008-05-20 11:35:52,390 INFO [STDOUT] at com.adobe.livecycle.output.client.OutputClient.generatePDFOutput(OutputClient.java:138)
    2008-05-20 11:35:52,390 INFO [STDOUT] at outputfactory.Output.outputFromXML(Output.java:55)
    2008-05-20 11:35:52,390 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2008-05-20 11:35:52,390 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    2008-05-20 11:35:52,390 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    2008-05-20 11:35:52,390 INFO [STDOUT] Caused by: java.lang.ClassCastException: com.adobe.livecycle.output.client.OutputResult
    2008-05-20 11:35:52,390 INFO [STDOUT] at com.adobe.livecycle.output.client.OutputClient.generatePDFOutput(OutputClient.java:122)
    I deploy it with th adobe-output-client.jar in my component jar and the reference for it in the component.xml file (also in my component.jar).
    How can i solve this problem? thanks

    Hi Rui
    Very difficult to know from your description.
    It's a class-cast exception - try to find the line in your code that's doing the cast, and find out what the actual object is.
    It could also be a jar versioning problem, or a class-loader problem.
    Sorry, very difficult to help without doing some detailed debugging.
    Howard
    http://www.avoka.com

  • Access data in custom component.

    Hi Everyone,
                    I am new to Flex soo pardon me if my questions are quite basic. I have searched a lot before posting here, might be I was not looking in the right direction. Please redirect me to the path that leads to the solution of the problem. I really appreciate any help that I can get.
    I'm followiing this video tutorial.
    http://www.gotoandlearn.com/play.php?id=100
    All was going fine, until the tutor wanted to add custom component in the application. He added the HBox which I couldn't find in Flash Builder  4.6 so I added HGroup instead in my new component. Now when I want to use the data that was fetched in the parent component in custom component it gives me error. Here is the code and their file names.
    File: SearchHomeView.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
            xmlns:s="library://ns.adobe.com/flex/spark" title="Twitter Search">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
            <s:HTTPService result="onResult(event)" id="service" url="http://search.twitter.com/search.atom?q=adobe">
            </s:HTTPService>
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import flash.utils.flash_proxy;
                import mx.collections.ArrayCollection;
                import mx.rpc.events.ResultEvent;
                [Bindable]
                private var ac:ArrayCollection;
                private function onResult(event:ResultEvent):void
                    ac = event.result.feed.entry as ArrayCollection;
                    trace(data);
                    trace(ac);
                private function doSearch(event:MouseEvent):void
                    //service.url = "http://search.twitter.com/search.atom?q=" + tearch.text;
                    service.url = "http://search.twitter.com/search.atom?q=adobe";
                    service.send();
            ]]>
        </fx:Script>
        <s:TextInput x="25" y="26" width="146" id="tearch"/>
        <s:Button x="224" y="26" height="33" label="Search" click="doSearch(event)" />
        <s:List dataProvider="{ac}" itemRenderer="tweet" x="25" y="92" width="274" height="278"></s:List>
    </s:View>
    File: tweet.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:HGroup xmlns:fx="http://ns.adobe.com/mxml/2009"
              xmlns:s="library://ns.adobe.com/flex/spark" width="400" height="300">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <s:Image width="50" height="50" source="{parentDocument.data.link.getItemAt('1').href}">
        </s:Image>
        <s:TextBase width="100%" text="">
        </s:TextBase>
    </s:HGroup>
    When I use source to be source="{parentDocument.data.link.getItemAt('1').href} ... it removes the error, but displays nothing on the resulting app.
    When I use source to be source="{data.link[1].href} ... it gives the error,
    Multiple markers at this line:
    -1120: Access of undefined property data.
    -parentDocument
    What needs to be done to use the item renderer right in custom component ? Please tell me the solution to it... I'm stuck on it for quite a few time.
    Thanks
    Bilal Ahmad

    Hello Ravi,
    one option is the create a public attribute to share your value note data with other components.
    Another option is a function group with two function modules "SET_" and "GET_".
    I´m sure one of the webclient UI Gurus here in this forum could share less "dirty" ways with you.
    Kind regards
    Manfred

  • Can I import a custom component from Flash 8 into Flex?

    'm creating a custom Flash Video Playback component in Flash
    8 using AS2. I understand that I cannot import this to Flex as
    stated in Livedocs: "You can use SWC files created in Flash 8 only
    for skinning, not as components. Until the next version of Flash is
    released, you can only use SWC files created in Flex 2 as
    components."
    But now that Flash 8 supports AS3 with the new Adobe Labs
    add-on, if I create the custom component using AS3 in Flash 8, can
    I then import it and use it in Flex 2.0.1?
    Any help is appreciated,
    Thanks!

    I was going through my libraries trying to find the quick test I did when I was dabbling with the kit and I can't find it anywhere at all.
    If I recall this was the pdf that I read to get it to work properly with CS3 and Flex 3 I don't know if you have read it already or if it will help, but it is the only thing I know for sure helped with the process.
    http://download.macromedia.com/pub/labs/flex/3/flexbuilder3_componentkit_docs_121207.pdf

Maybe you are looking for

  • SRM-MDM prices multiplikated with 10

    Hello, we are running SRM-MDM 3.0 I'd like to run MDM with Services. All works great but the pricing is a little bit strange. I fill the price in my item into the field Hss Hierarchy Price with 99,00 Euro,  Base price Quantity 1, and all other fields

  • Error Code 15

    I keep getting installation failed. Installation error occurred please restart your system. (15). I am running it on a 2013 mac book pro

  • Canon EOS 400D Raw file Adjustment

    Hi My question may sound like beginner level but that is where I am. I have a Canon EOS 400D (Rebel XTI in US) and mainly shoot RAW images. Recently bought Aperture 2. It imported and displayed the images but could not do any adjustments. The adjustm

  • Concept of Value & Factors of Feasibility..

    Hello, I need to choose the right answer for each of these. 1. In the sales process, the concept of value enters the process u2026 (only one answer is right i believe) when you deliver your Value Proposition. when you have proven the value during the

  • Binding cffrom data with math

    I am putting together a shopping cart for my web site and would like to add several "option" prices together from drop-downs. Here is my code: (I left out a few queries, but those are not relevant to understanding the code. What I am trying to achiev