Skip to main content
June 3, 2019
Answered

stop();

  • June 3, 2019
  • 2 replies
  • 945 views

ENGLISH:

Please, help me...

I have an animation to CD-ROM, interactive, and I put a command in timeline to STOP the animation, but it doesn't works. When I publish the file in swf, exe, or app, the animation doesn't stop in the specific frame.

What can it be?

[personal information removed for your protection - https://forums.adobe.com/docs/DOC-3731]

[This is a public forum, not Adobe support, please do not post personal information]

[If you are posting using email, please turn your 'sig file' function OFF for posting]

Please answer me in email, send me email with the answers

--------------------------------------------------------------------------------------------------------------------------------------------------

PORTUGUÊS:

Por favor me ajude...

Eu tenho uma animação para CD-ROM, interativo, e eu coloquei um comando na linha do tempo para parar a animação, mas não funciona. Quando publico o arquivo em swf, exe ou app, a animação não pára no quadro específico.

O que pode ser?

[personal information removed for your protection - https://forums.adobe.com/docs/DOC-3731]

[This is a public forum, not Adobe support, please do not post personal information]

[If you are posting using email, please turn your 'sig file' function OFF for posting]

Por favor me responda por e-mail, envie-me um email com as respostas

Mensagem editada por: Fábio da Silva Portella

This topic has been closed for replies.
Correct answer kdmemory

Olá Fabio

You are saying "The Stop () command;" ?

Just to be sure, in AS3 it needs to be:

stop();

And that should be on its own in one line of code.

And then, as kglad already pointed out, it could be that you have some other stray code with i.e play() or gotoAndPlay(LABEL or FRAMENUMBER) somewhere in your code.

PORTUGUÊS:

Você está dizendo "The Stop () command;"; ?

Só para ter certeza, no AS3 precisa ser:

stop();

E isso deve estar por conta própria em uma linha de código.

E então, como o kglad já apontou, pode ser que você tenha algum outro código perdido, por exemplo, play() ou gotoAndPlay(LABEL ou FRAMENUMBER) em algum lugar no seu código.

Klaus

2 replies

kglad
Community Expert
Community Expert
June 3, 2019

either it is stopping (and you're misinterpreting something you're seeing) and something executes after the stop() to cause the timeline to play (eg, a play() or gotoAndPlay() ).

use the trace function to debug.

June 4, 2019

Hello,

Where does it stay the TRACE FUNCTION for DEBUG?

In software Adobe Animate? In which menu?

avid_body16B8
Legend
June 4, 2019

You have to add it in your code. It is like the console.log in HTML5.

Example;

trace ("here");

avid_body16B8
Legend
June 3, 2019

Where do you have this stop - Is it in an event? Is it on  the timeline?

Onde você tem essa parada - Está em um evento? Está na linha do tempo?

Você poderia nos contar mais???

June 4, 2019

Oi,

está na linha de tempo

o comando stop();

mas não funciona...

kdmemory
kdmemoryCorrect answer
Inspiring
June 7, 2019

Olá Fabio

You are saying "The Stop () command;" ?

Just to be sure, in AS3 it needs to be:

stop();

And that should be on its own in one line of code.

And then, as kglad already pointed out, it could be that you have some other stray code with i.e play() or gotoAndPlay(LABEL or FRAMENUMBER) somewhere in your code.

PORTUGUÊS:

Você está dizendo "The Stop () command;"; ?

Só para ter certeza, no AS3 precisa ser:

stop();

E isso deve estar por conta própria em uma linha de código.

E então, como o kglad já apontou, pode ser que você tenha algum outro código perdido, por exemplo, play() ou gotoAndPlay(LABEL ou FRAMENUMBER) em algum lugar no seu código.

Klaus