1. About.com
  2. Computing & Technology
  3. Animation

Discuss in my forum

Flash Animation 11: ActionScripting to Link Your Buttons And Scenes

By , About.com Guide

1 of 6

Introduction and Review
Flash Animation 11: ActionScripting to Link Your Buttons And Scenes
To start this lesson off, you should be back in the first scene of your animation, on the very last frame where you created your button options. Before starting this lesson you should have all of your scenes complete: your primary scene with your introductory animation ending in your buttons, and a separate scene (two or more) to correspond with each of your button options. If you haven't done this already, you should have stops on the end of each of your scenes. Otherwise after we complete this lesson your animation will work incorrectly and will play more than just your chosen options.

This lesson will be purely Actionscripting, using the on (release) and gotoaAndPlay commands in conjunction with each other to make your buttons play the scenes that match them.

©2012 About.com. All rights reserved. 

A part of The New York Times Company.