Thanks. This is what I needed.


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Abdul Qabiz
Sent: Saturday, March 11, 2006 11:22 AM
To: [email protected]
Subject: Re: [flexcoders] RemoteObject - ColdFustion

You can send data as shown below, some of the ways...

<mx:RemoteObject id=ro" destination="roDest" result="handleResult(event.result);"

<mx:method name="setData">
<mx:arguments>
<arg1>{text1.text}</arg1>
<arg2>{text2.text}</arg2>
</mx:arguments>
</mx:method>
</mx:RemoteObject>

//calling from AS
ro.setData();

That's one way, I guess you can also pass data following way:

<mx:RemoteObject id=ro" destination="roDest"  result="handleResult(event.result)" />

//calling from AS, no need to declare method in RemoteObject tag...
ro.setData(text1.text , text2.text);


You can pass any(supported) type of data, i have just showed text data being passed...



-abdul

On 3/10/06, webfungi <[EMAIL PROTECTED]> wrote:
New to Flex and have been working with the phone application. But I
am now
uncertain about how to send data from Flex to the CFC in ColdFusion.
The Live Docs
have the information below. Is the <mx:arguments where I would put
the data to send
to the CFC. Is this a child of the <mx:method. Need help.

Thanks, Dave

<mx:RemoteObject
  concurrency="multiple|single|last"
  destination="No default."
  fault="No default."
  id="No default."
  result="No default."
  showBusyCursor="false|true"
  makeObjectsBindable="false|true"
/>

<mx:RemoteObject> can have multiple <mx:method> tags, which have the
following properties:

<mx:method
  concurrency="multiple|single|last"
  fault="No default."
  name="No default, required."
  result="No default."
  makeObjectsBindable="false|true"
/>
It then may have a single <mx:arguments> child tag which is an array
of objects that will be passed in order.






--
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




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to