Passing JavaScript problems

I have a movieclip button called ‘theimage’ which is constantly being updated to launch a getURL with two different functions at separate times. Those two JavaScript functions are called ‘oldmovieplayer’ and ‘video’.

So far it works with one catch: If the actions are being launched by only the ‘oldmovieplayer’ or only the ‘video’, it will perform the JavaScript function. However, if it is being updated to call these two JavaScript functions in a mixture, only the first JS function will perform.

‘theimage’ movieclip button is being updated by six buttons which tell it to gotoAndStop on 6 frames. These 6 frames update the ‘theimage’ movieclip button with the two different getURL(“javascript:x”); commands.

I am not sure if the problem is arising because:

  1. I am setting up the way Flash updates variables in an inefficient and illogical manner.

  2. The AS syntax that I am using is incorrect

  3. The JS syntax that I am using is incorrect

  4. or other issues that I am not aware of

Any suggestions or tips would be helpful.

You can also download the FLA, SWF, and HTML here:
http://you.minus.ws/Close/features-break1.zip

thanks.