• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 187
  • Last Modified:

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 Brown
Andy Brown
1 Solution
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 BrownAuthor Commented:

I forgot about it being case-sensitive.

Thank you.

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now