Stopping a movie from looping AS3

I know a little about AS2, but want to start using AS3.  I have a very basic button, that has a label fade in when the mouse has been over the button for a second.  Nothing complicated, just a simple movie with two layers (1x Text message, 1x White box that fades to nothing).  

On AS2, I could simply put the Stop(); statement on the last frame of the movie.  However, on AS3 when I use the same approach it comes up with a compile error and the fade keeps looping - any ideas?

Andy BrownDeveloperAsked:
Who is Participating?
stop(); in as2 and as3 works the same way.

Maybe you couldn't get it to work because you capitalised your stop();

It should be stop();

and not Stop();
Andy BrownDeveloperAuthor Commented:

I forgot about it being case-sensitive.

Thank you.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.