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

Reply via email to