The stop action stops the currently playing movie. It is used with buttons to control a movie. The stop action also can be used on frames to end an animation.
The syntax of using the stop action is as follows:
For example:
The following code is assigned to a button:
stop();
}
The above code stops the playhead from moving on the timeline when the button is released.
Download practice question and study guide for ace-flash for exam. Download free practice test for 9A0-311 Macromedia Flash Professional exam.
Like this article? Share it with others
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.
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.