![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 4.
setProperty(
target
,
property
,
value/expression
)
target
The path to the instance name of the movie clip whose property is to be set.
property
The property to be set.
value
The new literal value of the property.
expression
An equation that evaluates to the new value of the property.
Nothing.
Function; changes a property value of a movie clip as the movie plays.
This statement sets the _alpha
property of a movie clip named star
to 30% when the button is clicked:
on(release) { setProperty("star", _alpha, "30"); }
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |