1 Reply Latest reply on Apr 28, 2008 5:28 AM by robdillon

    Script Help

      I am having the hardest time with director I'm not sure if it's due to something I'm missing or what. But any websites with scripts would be a big help. My movie when I test it plays but I don't want it to play until mouse click.

      Please help asap
        • 1. Re: Script Help
          robdillon Most Valuable Participant
          Put nothing on the first frame of your movie.
          Put a frame script on the second frame:
          on exitFrame
          go to the frame
          Put a button in that frame.
          In the behavior that you attach to that button put:

          property thisSprite

          on beginSprite me
          thisSprite = me.spriteNum

          on mouseUp me
          go to the frame + 1