-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Philippe Maegerman
Sent: Thursday, August 11, 2005 1:24 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] help.. passing arguments to a method using remoteobjectYou can use <mx:arguments> inside yout method<mx:RemoteObject id="ro"..> <mx:method name="setData"> <mx:arguments> <arg1>{text1.text}</arg1> <arg2>{text2.text}</arg2> </mx:arguments> </mx:method> <mx:RemoteObject>Documentation here : http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flex_Documentation&file=00001175.htmPhilippe Maegerman
i cannot figure out how to pass arguments... pls send an example code
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Amit Sanon
Sent: jeudi 11 août 2005 7:52
To: flexcoders@yahoogroups.com
Subject: [flexcoders] help.. passing arguments to a method using remoteobject
as to how to pass arguments to a method using remote object
i have a class as follows
class A
{
public int func1(int i, string st)
{
.......
}
}
----------------
i created a remote object like...
<mx:RemoteObject source="A" id="remot">
<mx:method name="func1" result=""/>
</mx:RemoteObject>
and made a call to this method as
function getReply()
{
remot.func1(1,"amit");
}
but was not successfull.. it gave an error cannot invoke method func1
------------------------------------------------------------------
**STATEMENT OF CONFIDENTIALITY**This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.
We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.
------------------------------------------------------------------
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Computer software testing | Macromedia flex | Development |
Software developer |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.