http://livedocs.macromedia.com/flex/15/flex_docs_en/00000742.htm


On 7/16/05, Ghislain Simard <[EMAIL PROTECTED]> wrote:
Hi
I'm trying to parse an object coming from a RemoteObject and use
that object to fill-in different form fields. How to do so?

Here is the code:
<mx:Script>
<![CDATA[

                var rToList:Object;

                function rToListSet(event:Object):Void
                {
                        rToList=event.result;
                        labelID.text = rToList[0];
                }

]]>
</mx:Script>

<mx:RemoteObject id="toitureObject"
endpoint="http://132.156.178.59/flashservices/gateway "
source="EEwizard3.G.toit_nf">

        <mx:method name="affichage" result="rToListSet(event)">
                <mx:arguments>
                        <zoneID>1</zoneID>
                </mx:arguments>
        </mx:method>
</mx:RemoteObject>

<mx:Button label="Call CFC" click="toitureObject.affichage.send()"/>
<mx:Label id="labelID"/>




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to