O'Reilly logo

Foundation ActionScript for Flash 8 by David Powers, Sham Bhangal, Kristian Besley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. MOVIES THAT DECIDE FOR THEMSELVES

What we'll cover in this chapter:

  • Getting Flash to look at a situation and decide what to do based on what it sees

  • Using sausage notation (or, "How I learned to stop worrying and love braces")

  • Giving Flash the intelligence to check passwords

So far, you've looked at a few simple ways to control Flash movies using actions, event handlers, and variables. The actions are like commands, telling Flash what to do. The event handlers are just sets of actions that get triggered by events from the movie so that Flash can respond in real time to things like button presses and entering a new frame. Variables give Flash memory so that you can store information away for when you need it later on.

Already, that gives ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required