I don't know of a specific example. I would try use the same methodology and just substitute RemoteObject. You might find an example via google.
Is there a very good reason you need to do this? You do understand that you can declare a data service in mxml and then manipulate it programmatically, right? Tracy -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of deepu_verma Sent: Thursday, March 23, 2006 2:11 AM To: [email protected] Subject: [flexcoders] Re: dynamically creating a remote object Thanks Tracy, but the example is for web service. Where can I get the syntax for RemoteObject call. Thanks dv --- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > This is not supported in 1.5, but is possible to do. > > See this article: > http://jeff.mxdj.com/calling_a_webservice_purely_through_as.htm > > Tracy > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of deepu_verma > Sent: Wednesday, March 22, 2006 6:50 AM > To: [email protected] > Subject: [flexcoders] dynamically creating a remote object > > How can I dynamically create an instance of remote object in flex 1.5 > I am trying the following > testRemote = > mx.core.Application.application.createClassObject(mx.servicetags.RemoteO > bject, > "text_mc", 0, > {endpoint:"http://dverma01.corp.adobe.com:8300/cfusion/flashservices/gat > eway/", > > source:"webreqapp.test",result:"testText.text=event.result"}); > mx.core.Application.application.text_mc.test(); > > Thanks > dv > > > > > > -- > 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 > -- 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 -- 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/

