The first thing we can use in AS 3.0 is the already exist and required by most of us.
We will talk about stop(); function.
We should understand what we mean by “function” ?
When we say function in programming language,we mean a collection of code lines grouped together under a single name to do specific action.
So,when we say stop(); we mean that the application will call the collection of codes witch do the action of stop.
We will discus how to build the function soon,but NOW we will only use predefined and ready functions.
What stop(); do ?
From its name,the stop(); function responsible of stopping the running of the animation on the time line.When we add stop(); at any key frame,the animation will stop at these point.
Where we can insert stop(); ?
At any key frame on the time line of the stage or the MovieClip.