Copy link to clipboard
Copied
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
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,
...Copy link to clipboard
Copied
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???
Copy link to clipboard
Copied
Oi,
está na linha de tempo
o comando stop();
mas não funciona...
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Hello,
Where does it stay the TRACE FUNCTION for DEBUG?
In software Adobe Animate? In which menu?
Copy link to clipboard
Copied
You have to add it in your code. It is like the console.log in HTML5.
Example;
trace ("here");
Copy link to clipboard
Copied
It doesnt works.
The output box shows "stop", "stop", "stop"
The animation continues. And it doesnt stop.
Copy link to clipboard
Copied
trace doesn't solve anything. it lets you debug if you understand coding/debugging.
are you using stop() (correct) or stop (incorrect)? are there any error messages (which will override all code executing after the error message(s) appears).
Copy link to clipboard
Copied
Indeed! You need to know what you are tracing and why.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now