Question:

A question on Flash Action scripting?

by  |  earlier

0 LIKES UnLike

OK to start with, i am using action script 2.0 and I'm a total beginner at using it. What i am doing is using a button to play the animation with:

on(release) {

_root.gotoAndPlay(2);

}

OK so that works fine and i understand the number after gotoAndPlay means the frame to play, but is there a way to limit the frames it plays? I mean so i could tell it to play only frames 2-8 or whatever?

 Tags:

   Report

1 ANSWERS


  1. On Frame 8, put the following

    _root.stop();

    Depends on what you will do next and what you have on Frame 8 you can restart the frame anywhere from frame 3 to 8.

    Hope this helps.

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.