# FSCommand help between actionscript and javascript

**URL:** <https://forum.kirupa.com/t/fscommand-help-between-actionscript-and-javascript/163099>\
**Category:** flash\
**Created:** [September 19, 2005, 8:27pm UTC](https://forum.kirupa.com/t/fscommand-help-between-actionscript-and-javascript/163099 "2005-09-19T20:27:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnkoroberi](https://avatars.discourse-cdn.com/v4/letter/j/b487fb/32.png) [@johnkoroberi](https://forum.kirupa.com/u/johnkoroberi)\
**Post date:** [September 19, 2005, 8:27pm UTC](https://forum.kirupa.com/t/fscommand-help-between-actionscript-and-javascript/163099/1 "2005-09-19T20:27:28Z")

</div>

okay, my problem is that i am using FSCommand to call a javascript function in a parent frame, and i have to do it about 16 times or so inside a loop. well, actionscript iterates through the function calls very quickly, but javascript is extremely slow, creating timing errors for me.

so my question is, is there anyway to do a sort of wait command or something to stall a little bit so that FSCommand can return before the next one gets called? or some better way to communicate with external javascript?
