In this example:
Chapter Movie Clips are embedded inside a Booklet Movie Clip which is placed on the Stage.
Chapter Movie Clips hold pages ( frames).
All the navigation buttons are located in the Booklet, yet reference chapters and pages embedded within.
The Stage view looks like this:
Forward Button Script (Click to enlarge view):
_root means the Stage
_booklet is the MOvie Clip
[what] holds the name of the Chapter selected
_root means the Stage
_booklet is the MOvie Clip
[what] holds the name of the Chapter selected
Chapter 02 select button:
1) Sets the variable what to "c02"
2) Turns the alpha to 0 for the other Chapter Movie Clips on the Stage
1) Sets the variable what to "c02"
2) Turns the alpha to 0 for the other Chapter Movie Clips on the Stage
3) Sets the Playhead to gotoAndStop at frame 2 in the Chapter Movie Clip
NOTE: All of the Chapter Movie Clips have nothing in the first frame.
NOTE: All of the Chapter Movie Clips have nothing in the first frame.
Reset Button
No comments:
Post a Comment