Properties
Top  Previous  Next


A property is an item that defines something about the Object. Some properties are read only, whereas others are read/ write. The properties that an Object contains are defined according to the class it belongs to. This means that different types of Objects may have different properties.

For example, a Sprite and standard drawing Objects contain a number of properties that define the Object's size and position within the Movie.

Properties include:

·screen Position, _x, _y  
·size, _width, _height  
·scale, _xscale, _yscale  
·rotation angle, _rotation  
·opacity, _alpha.  
·visibility, _visible  
·name, _name  

A text field Object contains all of the Sprite or Scripting Object properties, but also has its own additional properties:

·maxscroll  
·scroll  
·text  

The properties that are available for each supported Object are defined in the Script Reference Dictionary.