2 Replies Latest reply on May 18, 2006 6:47 PM by Newsgroup_User

    Please Help with Action Script!

    Rooksta
      Hi, thank you in advance for reading this topic, and for hopefully being able to assist.

      I need a script that will open another swf movie upon enterFrame.
      So at the end of my movie it will just open a new one in the same window.
      Please help!
        • 1. Re: Please Help with Action Script!
          FlashTastic Level 1
          I don't think an enterframe will be your best bet.

          You might want to use something like

          if(_root._currentframe >= _root.totalframes){
          loadMovie("myMovie.swf",_root)
          }

          Cheers,
          FlashTastic
          • 2. Re: Please Help with Action Script!
            Level 7

            "FlashTastic" <webforumsuser@macromedia.com> wrote in message news:e4ir4t$ru4$1@forums.macromedia.com...
            >I don't think an enterframe will be your best bet.
            >
            > You might want to use something like
            >
            > if(_root._currentframe >= _root.totalframes){
            > loadMovie("myMovie.swf",_root)

            Why in the world would you do that when you can just put a keyframe on the last frame and ..
            loadMovie("myMovie.swf");
            ?
            tralfaz