S > setProperty
setPropertySyntax
setProperty(
target
,
property
,
expression
);
Arguments
target
The path to the instance name of the movie clip whose property is being set.
property
The property to be set.
expression
The value to which the property is set.
Description
Action; changes the property of a movie clip as the movie plays.
Player
Flash 4 or later.
Example
This statement sets the _alpha
property of a movie clip named star
to 30 percent when the button is clicked:
on(release) { setProperty("star", _alpha = 30); }
See also
getProperty