[flexcoders] ActionScript RemoteObject - Trying to learn so please be patient :-)

2008-12-21 Thread wkolcz
I am trying to wrap my head around trying to move my RemoteObjects out of mx:Script and into a AS Class File. I thought I would put all the set up code in the constructor and then just have functions that call methods on the instantiated RemoteObject. I am getting errors (as to be expected from a

Re: [flexcoders] ActionScript RemoteObject - Trying to learn so please be patient :-)

2008-12-21 Thread Dan Vega
Your RO variable is out of scope, you defined as a local variable to the constructor. You need to set it up outside of there. public class ProjectGateway { private var RO:RemoteObject; ProjectGateway() { RO = new RemoteObject();

Re: [flexcoders] ActionScript RemoteObject - Trying to learn so please be patient :-)

2008-12-21 Thread wkolcz
@yahoogroups.com Subject: Re: [flexcoders] ActionScript RemoteObject - Trying to learn so please be patient :-) Your RO variable is out of scope, you defined as a local variable to the constructor. You need to set it up outside of there. public class ProjectGateway { private var