- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi 
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
?
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
?
Views
Replies
0 Likes
Total Likes