• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Stop(); Action doesn't work in AS3?

Contributor ,
Feb 05, 2013 Feb 05, 2013

Copy link to clipboard

Copied

I'm a designer and usually work in AS2.

But I created a movie in as3 (to use the Bones function), and now my stop actions are not working.

What I usually do for my movies is break the movie down in parts on the Main timeline (Start/Content/End), place stops on each of these frames.

And within the Movieclips that play on these labels I put a call:

stop();

_root.gotoAndPlay("Content") etc...

Anyways any fixes for this in AS3?

I'm using CS4 if that matters.

TOPICS
ActionScript

Views

986

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Feb 05, 2013 Feb 05, 2013

The stop() command works as well in AS3 as it does in AS1/2.  What doesn't work is using AS2 terms like "_root".  In general, if a stop() command is not working it is because some other code is failing or otherwise overriding the stop().

Votes

Translate

Translate
LEGEND ,
Feb 05, 2013 Feb 05, 2013

Copy link to clipboard

Copied

The stop() command works as well in AS3 as it does in AS1/2.  What doesn't work is using AS2 terms like "_root".  In general, if a stop() command is not working it is because some other code is failing or otherwise overriding the stop().

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Feb 05, 2013 Feb 05, 2013

Copy link to clipboard

Copied

Here's the error I get:

1180: Call to a possibly undefined method Stop.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 05, 2013 Feb 05, 2013

Copy link to clipboard

Copied

Stop is not stop... look for the one with the capital "S" and change it

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Feb 05, 2013 Feb 05, 2013

Copy link to clipboard

Copied

LATEST

Yeah still couldn't get it to do what I wanted it to do.

I just ended up switching my publish settings back to AS2 and it works.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines