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

when i code stop();

Community Beginner ,
Mar 28, 2023 Mar 28, 2023

Copy link to clipboard

Copied

When i code stop () ; for my button to not loop, it also stop all my motion in the scenes.

 

Views

289

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
Community Expert ,
Mar 28, 2023 Mar 28, 2023

Copy link to clipboard

Copied

Hi.

 

Can you provide more details?

 

Is this HTML5 Canvas or AS3?

 

A simple stop command shouldn't be able to stop all motion in a timeline/scene.

 

Probably you're getting some error and the error is the responsible for interrupting other things happening.

 

Please let us know.

 

Regards,

JC

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
Community Beginner ,
Mar 28, 2023 Mar 28, 2023

Copy link to clipboard

Copied

Is AS3, In this scene it is a question and there is two answer button leading to two scene saying that if their answer is right or wrong.

But in this question scene there is motion in it , after i code stop () ; it just stop all the motion in my scene

Cat_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWrong);

function fl_ClickToGoToWrong(event:MouseEvent):void
{
MovieClip(this.root).gotoAndStop(2, "Wrong");
}

 

Fox_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToRight);

function fl_ClickToGoToRight(event:MouseEvent):void
{
MovieClip(this.root).gotoAndStop(3, "Right");
}

 

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
Community Expert ,
Mar 28, 2023 Mar 28, 2023

Copy link to clipboard

Copied

Thanks for the info.

 

Does this motion happen independently in a different container or does it depend on the main timeline to be played?

 

Can you show one or more screenshots of how your FLA is organized?

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
Community Beginner ,
Mar 28, 2023 Mar 28, 2023

Copy link to clipboard

Copied

Vanessa29113709k84m_0-1680004294563.png

 

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
Community Expert ,
Mar 28, 2023 Mar 28, 2023

Copy link to clipboard

Copied

If you stop the timeline in the screenshot, those tweens will not happen.

 

Maybe what you need is to place those tweens in a separate Movie Clip instance because Movie Clips can play independently from the parent timeline.

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
Community Expert ,
Mar 28, 2023 Mar 28, 2023

Copy link to clipboard

Copied

you don't need a stop() to prevent a button from looping. 

 

do you mean you're trying to stop a movieclip or graphic symbol from looping?

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
Community Beginner ,
Mar 28, 2023 Mar 28, 2023

Copy link to clipboard

Copied

Because if i don't use the stop code the scene will keep on looping, what i want is for the user to click on the button then the only change to another scene, but if i add stop () the objects motion will stop as well

 

 

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
Community Expert ,
Mar 28, 2023 Mar 28, 2023

Copy link to clipboard

Copied

if your objects are graphic symbols on the stopped timeline, that's expected. 

 

if the objects are movieclips on the stopped timeline, they'll continue to play.

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
Community Beginner ,
Mar 28, 2023 Mar 28, 2023

Copy link to clipboard

Copied

Owww ! okay i will try

 

 

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
Community Beginner ,
Mar 28, 2023 Mar 28, 2023

Copy link to clipboard

Copied

Hmmm is still not working

 

 

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
Community Expert ,
Mar 28, 2023 Mar 28, 2023

Copy link to clipboard

Copied

what exactly is not working?

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
Community Beginner ,
Mar 28, 2023 Mar 28, 2023

Copy link to clipboard

Copied

The motion of the characters

 

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
Community Expert ,
Mar 28, 2023 Mar 28, 2023

Copy link to clipboard

Copied

LATEST

if the characters are animated on the timeline with the stop, that animation is going to stop.

 

if the characters are animated on a different timeline and they are graphic symbols, their animation is going to stop.

 

if the characters are animated on a different timeline and they are movieclip symbols, their animation will not 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