This is the Wheel Deal - 02/01/2008 Flash class example

You have a handout that explains this further. Read and reread that handout!



on (release) {                    Code for the GO button
	play();
	this.theWheel.play();
}

on (release) {                    Code for the Stop main timeline button
	stop();
}

on (release) {                    Code for the Stop wheel rotation button
	this.theWheel.stop();
}

There are three layers:  Actions layer
                         Button layer
                         Rolling Wheel layer

The Actions layer has the following code:   Frame  1   stop();
                                            Frame 41   goToAndPlay(2);