dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: skip button

  1. #1
    Junior Member
    Join Date
    Apr 2006
    Posts
    28

    skip button

    I would like to create a button in my movie that allows a person to skip the intro if they choose.
    Here what I have on the button:

    on (release) {gotoAndPlay("Scene 1","Frame 300");

    }

    But, when the actual movie plays, the button is ignored and the movie continues as usual. What is the best way to create a kind of "skip intro" button?

  2. #2
    Moderator whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,755
    put a frame label in the frame/scene you want it to "jump" to.. and target the frameName instead of the scene/frameNum.

    Code:
    on (release) {
        gotoAndPlay("startHere");
    }
    with startHere being the frameLabel.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center