by Vivienne Trulock
Created and designed by Vivienne Trulock for ilikecake, 2005
This exercise shows how to create a basic navigation system using markers and simple lingo. See finished movie.
Import buttons and images.
Arrange buttons on stage.
Use the 'Modify > Align' command to easily layout the sprites.
Create markers as below by clicking the mouse on the white row at the top of the score, and typing in the words.
Stretch the sprites to frame 9 and copy and paste them 4 times to frame 49, as shown.
Place images on the stage.
Create a sprite script attached to the next button, which reads as follows
Create a sprite script attached to the back button, which reads as follows:
Scripts on each of the other sections reference markers by their name:
To write the scripts quickly, write one script, copy and paste it into another script window and change the appropriate marker name.
Then select the relevant sprites in the score:
Then attach the behaviour to them all at the same time:
Write a frame script to loop the playback head on the last frame of each section
Once the script is written, just pull it off the cast to use it again. Place the loop script as shown.
Save, Publish and Create Projector.