Avatar

Level 1
Hi :slightly_smiling_face:

this is wath I do with the RO

/**



public function loginUser(user:String, pass:String):void {

flexComRO = new RemoteObject();

flexComRO.destination = "FlexComRO";

flexComRO.LoginUser.addEventListener(ResultEvent.RESULT,
loginUserResultHandler);

flexComRO.LoginUser.addEventListener(FaultEvent.FAULT,
faultHandler);

CursorManager.setBusyCursor();

flexComRO.LoginUser(user,pass);



}

**/



If i have the Flex app running in my browser, and hit the
loginUser function, with the JRun disconected. It hangs on the
'my-amf' pinging endpoint. where sould I put the event listener if
I should catch the event ? Or do I have to create a my own timeout
?