1 Reply Latest reply on Mar 13, 2007 5:40 AM by mclem

    Actionscript Advice in need!


      I basically have two flash swfs which need placing in an HTML template which has navigational buttons. Once the first swf has played/complete, I need to send a message to the javascript to allow the user to click the 'next' button (in the HTML template) to then play the second swf. The 'next' button will be inactive until the first swf has completely played. So will need the actionscript to tell the javascript the swf is complete. Think you use the fscommand, but not sure as this the first time I've had to link flash and HTML code together.

      Hope someone can help...
        • 1. Re: Actionscript Advice in need!
          mclem Level 1
          if you use getURL you can run javascript code to enable the button. just place the getURL on the last frame of the animation:


          if the user is using flash player 8 or above though they will get a security message and the code may not execute.