In an action script function, I call a java remote object.
But, the next commands do not wait for the result of the invoked
java remote object to be returned.
How can I force my function to wait for the result of my java
Remote Object before the next commends get execuated?