[flexcoders] Re: using RemoteObjects in actionscript 2

2006-08-22 Thread Kashif Noorani
); --- In flexcoders@yahoogroups.com, Kashif Noorani [EMAIL PROTECTED] wrote: Hi Mark, Thanks a lot for your quick answer. Only problem is that I am on Flex 1.5 and there doesn't seem to be a destination property on the RemoteObject :( --- In flexcoders@yahoogroups.com, Mark Piller mark@ wrote

[flexcoders] using RemoteObjects in actionscript 2

2006-08-17 Thread Kashif Noorani
Does anyone know of a way to create/use a RemoteObject programmatically rather than declaratively? I want to be able to do something such as: var ro : RemoteObject = new RemoteObject(...); ro.invoke(...) -- Flexcoders Mailing List FAQ:

[flexcoders] Re: using RemoteObjects in actionscript 2

2006-08-17 Thread Kashif Noorani
// specific one for the method you will be invoking ro.addEventListener( fault, onFault ); ro.foo.addEventListener( result, onResult ); // now invoke your method ro.foo(); cheers, Mark --- In flexcoders@yahoogroups.com, Kashif Noorani kashif@ wrote: Does anyone know of a way to create/use

[flexcoders] Using @ContextRoot() with Loader

2005-10-20 Thread Kashif Noorani
I am trying to figure out a way to load an image dynamically without coding in relative paths. I tried the following with little luck:mx:Loader source=@ContextRoot()/{object.imagePath} width=40 height=58/ The same code works if I replace the @ContextRoot() with the relative path i.e.