Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Javascript idling for fscommand execution?

Status
Not open for further replies.

cvmandach

IS-IT--Management
Nov 1, 2002
8
CH
Hi,

I would like Javascript to run an actionscript in flash with fscommand, which loads a xml page and returns some content of it to the javascript. The problem is that javascript does not wait for the termination of the fscommand, as it takes time to download the xml from the server, but continues with the next command. I should make Javascript wait for termination of the xml download resp. successful presentation of the value by flash. However, I cannot idle javascript by running a loop as this blocks any flash/actionscript code execution... is there any way to make javascript idle and allow other processes to continue (something like DoEvents() in VB)?

Any help is welcome!

Thanks,
Conrad
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top