I believe I already said I am working on RemoteObject.

The Flex compiler generates custom code for mx:RemoteObject.  The Royale 
Compiler currently does not.  I am working on it.

Thanks,
-Alex

On 10/8/18, 3:13 AM, "Carlos Rovira" <carlosrov...@apache.org> wrote:

    Hi,
    
    I was experimenting trying to get RemoteObject to proxy method calls.
    
    so instead of doing
    
    service.send("echo", [name_txt.text]);
    
    be able to do:
    
    service.echo(name_txt.text);
    
    I tried with Proxy class
    
    (org.apache.royale.utils.Proxy)
    
    and implementing IEventDispatcher, but compiler throws error:
    
    Call to a possibly undefined method echo through a reference with static
    type RemoteObject.
    
    It's possible to do something like this? what I'm missing?
    
    This seems a little enhancement, but it would be cool if we get it in order
    to be more near of the normal syntax we all have in our code bases.
    
    thanks
    
    -- 
    Carlos Rovira
    
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cd6e1679c9f4f46862fdf08d62d06c1da%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636745904387654783&amp;sdata=ZXdwxNAonPKWTeTzvkXW%2Ft3vI1lkIWau0Xla672rVA8%3D&amp;reserved=0
    

Reply via email to