Flash Lite 1.x ActionScript Language Reference |
|
|
|
| Flash Lite Global Functions > setProperty() | |||
Flash Lite 1.0.
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.
Function; changes a property value of a movie clip as the movie plays.
The following statement sets the _alpha property of the star movie clip to 30 percent when the user clicks the button associated with this event handler:
on(release) {
setProperty("star", _alpha, "30");
}
|
|
|
|