Which RemoteObject are you extending? mx.rpc.remoting.RemoteObject or 
mx.rpc.remoting.mxml.RemoteObject? Try extending the latter.

Regards,

Frederico Garcia
den.orlov escreveu:
> I wrote RemoteObject's sublcass that contains functionality common 
> for all my appp's RemoteObjects:
>
> public dynamic class MyRemoteObject extends RemoteObject {
>
>     public function MyRemoteObject()
>     {
>         super();
>         this.showBusyCursor = true;
>         this.requestTimeout=10;
>
>         addEventListener(FaultEvent.FAULT, onFault);
>     }
>
> ...
> }
>
> When I use it in my mxml files:
>
> <cust:MyRemoteObject id="ro" destination="dest">
>     <mx:method name="getAll" result="onGetAllResult(event)"/>
> </cust:MyRemoteObject>
>
> compiler can't recognize mx:method tag. Is there any way to 
> workaround this?
>
> Den
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
>
>
>
>
> __________ NOD32 2854 (20080206) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>
>
>   

Reply via email to