<classwork>

Methods & Properties


Properties: Every object in Flash is unique. It differs from other objects. These are called properties: height, size, rotation, position, etc. (PROPERTIES ARE LIKE ADJECTIVES)

Each class has a predefined set of properties.

For example, the Sound class has only two, duration measuring the length of a sound, and position which measures the time the sound has been playing.

Another example, the MovieClip class has many properties, _height, _width, _ rotation.

These properties can be controlled and manipulated with actionscripting.

Methods: Objects also do things. Things that objects can do are called methods. When an object does something using a method, we say that method is called. (METHODS ARE LIKE VERBS)

Ex. The Sound class has a SetVolume method that will play the sound louder or softer.