
Home
|


MACROMEDIA FLASH
Changing movie clip position and appearance
Use the Set Property statement to change the position,
scale, transparency, visibility, and rotation of a movie clip as the movie
plays.
Set Property has the following parameters:
 |
Set specifies the property to change. |
|
X Position and Y Position
set the movie clip's horizontal and vertical position,
respectively. The position is relative to the local coordinates of
the parent movie clip. |
|
X Scale and Y Scale scale
the movie clip horizontally or vertically, respectively. Values
for the property are percentages; the default value is 100. |
|
Alpha specifies the movie clip's
transparency. Values can be from 0 (fully
transparent) to 100 (fully opaque). Objects in a
movie clip with Alpha set to 0 are active, even
though they are invisible. For example, a button in a movie clip
with Alpha property set to 0 can still
be clicked. |
|
Visibility specifies whether the movie
clip is visible. Values for this property are either True
(visible) or False (not visible). The movie clip is
visible if the value is any nonzero value; the movie clip is
invisible if the value is zero. Objects in a movie clip with Visibility
set to false are disabled. For example, a button in a movie clip
with the Visibility property set to false can not be
clicked. |
|
Rotation specifies a movie clip's
rotation. The value is in degrees. |
 |
Target specifies the movie clip whose property you want to set.
Click the button labelled "abc" and choose Target Editor
to specify a target visually, or enter a target path in the field.
See Specifying
targets. |
 |
Value specifies the value to assign the property. |
For example, this statement sets the Y position property
of a movie clip named target_item to 150:
On (Release)
Set Property ("target_item", Y Position) = 150End On
|
 |