I'm trying to create a RemoteObject singleton class which I can reference
throughout my project, and make simple calls to the serverside code using
WebOrb. 

The singleton extends RemoteObject, but I am having trouble passing
arguments across. I'd like to be able to call the RemoteObject class like
so:

var _rm:RemotingManager = RemotingManager.getInstance();
_rm.addEventListener(ResultEvent.RESULT, onGetPage, false, 0, true);
_rm.call(<destination>, <method>, <arguments>); 

My question is simple, or at least I hope it is... is there a away to pass
arguments to the RemoteObject class which are NOT typed as Array? The
RemoteObject.arguments property expects an object, but if I pass it an
object Charles is reporting a null response which is really strange.

How can I improve my singleton to make it a little bit more flexible when
working with arguments like this?


-- 
View this message in context: 
http://www.nabble.com/RemoteObject-help-tp22026297p22026297.html
Sent from the FlexCoders mailing list archive at Nabble.com.

Reply via email to