1. Home
  2. Computing & Technology
  3. Animation

Flash Halloween Costume Dress-Up Doll II: Controls & Scripting

By Adrien-Luc Sanders, About.com

3 of 10

First you’ll want to insert a simple stop; although it’s a single-frame movie, it’s still a good idea to make sure that nothing will be cycling and resetting.

Next you’ll want to insert the following script:

_root.instancename._visible=false;

where instancename is the name of one of the many movie clips that we arranged on the stage to dress the doll in the last lesson. _visible is a movie clip property that toggles the clip’s visibility; if _visible=true, then the clip is visible. If _visible=false, then the clip is invisible.

You’ll need to repeat this on multiple lines, changing only the instance name on each line, until you’ve set all of the symbols layered over the girl to be invisible at the start of the movie. We only want them to appear when we click on the menu options to load them.

Explore Animation
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Animation
  4. Flash Animation Tutorials
  5. Flash Halloween Costume Dress-Up Doll II: Controls & Scripting

©2009 About.com, a part of The New York Times Company.

All rights reserved.