Sure, you can just go directly through the Application (Application.application.myRemoteObject) or use a ServiceLocator approach like Cairngorm.

 

Matt

 


From: [email protected] [mailto:[email protected]] On Behalf Of Mike Anderson
Sent: Tuesday, June 14, 2005 6:53 PM
To: [email protected]
Subject: [flexcoders] Referencing/Reusing RemoteObjects located in Application container

 

Hello All,

I have my main application, which already contains all my code required
to make all the calls I need to my Remoting Server.

My application makes extensive use of Popup Windows - in which the
content in these Popup Windows, will be populated by Remoting Results.

Do I have to have the <mx:RemoteObject> declarations in each unique Form
that I launch?  I assume that each time I create one of these objects,
that it eats up more memory?

My main question then, is can I reference the RemoteObject along with
it's declared Methods which resides in the Application Container, from
the Popup Window?  Or do I have to have all this code contained in each
and every unique Form, which will contain results brought back from
Remoting Calls?

Thanks in advance for your help,

Mike




Yahoo! Groups Links

Reply via email to