• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 7. The Movie Clip Object > Properties of Clips

Properties of Clips

When you drag a Movie Clip from the Library onto the Stage, you have already set the _x and _y (position) properties of the instance created. Each instance on the Stage will have its own set of properties. The available built-in properties are the same for every instance, but the actual settings for each vary. Properties such as _scale, _rotation, and _alpha are examples of other built-in properties that you can modify. Although you can set properties of instances of Graphic symbols while authoring, you can only access properties of instances of objects (such as Movie Clip instances) with scripting. You can both ascertain the current values of a clip’s properties and change them through scripting. Flash MX gives you access to instances of clips, buttons, and dynamic or input text. A simple way to understand this fact is that you can’t name instances of Graphic symbols—only clips, buttons, or (non-static) text.


Here’s the form that a script takes to access a clip’s properties:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint