Hi, When in a fonction, how can we wait for the return of a RemoteObject before executing the next line in the same function?
function submitForm(){ ecranRO.ajout.send(); var myvar = ecranRO.ajout.result; if (myVar == 1){ do something.... } this.deletePopUp(); Thanks -- 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 <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/