Understanding instances referenced through ActionScript


show more Understanding instances referenced through ActionScript provides you with in-depth training on Developer. Taught by Todd Perkins as part of the ActionScript 3.0 in Flash Professional CS5 Essential Training show less
please wait ...

Understanding instances referenced through ActionScript

One of the more common tasks when working with ActionScript in Flash Pro is to use ActionScript code to manipulate objects on the stage. Now you probably already have experience with this. You have even done that in this title. The easiest way to do that is to give an object an instance name and use that instance name to reference the object in the Actions panel. From the stage here, if I select my border, you will see it's a movie clip, and it has an instance name of boarder_mc. Note that you won't see the instance name field unless you have a particular type of object selected.

Instance names are only applicable to movie clips, buttons, some types of text fields, and components, like the FLV playback component. Note that my instance name is boarder_mc. Instance names are actually variables that are created behind the scenes in Flash, and need to follow the same naming conventions. In other words, you can't start with a number - so you should start with a letter, and you canno...

Understanding instances referenced through ActionScript
Video duration: 2m 27s 7h 8m Beginner Updated May 23, 2012

Viewers:

Understanding instances referenced through ActionScript provides you with in-depth training on Developer. Taught by Todd Perkins as part of the ActionScript 3.0 in Flash Professional CS5 Essential Training

please wait ...