The setProperty function is used to change the property of a movie clip during the movie plays.
The syntax of using the setProperty function is as follows:
In the above syntax, the target parameter is a string that represents the path to the movie clip whose property is to be set. The property parameter is a property of the movie clip to be set. The value parameter is a value to be set to the property. The expression parameter is any viable expression that evaluates to the new value of the property.
For example, the following code is used to set the alpha of a movie named myClip to 20.
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
