Copy link to clipboard
Copied
ola a todos
estou montando um arquivo com adobe animate
e preciso de um botão de pause(com codigo pronto)
ou codigo snippet de botao pause
nao achei nos presets do adobe animate
alguem pode me ajudar ?
como conseguir e proceder ?
obrigado a todos
leo
preciso do pause para eventualmente parar no meio do loop
envio anexo um video screen da situação
Copy link to clipboard
Copied
your sounds sync property needs to be stream, not event.
Copy link to clipboard
Copied
what thats mean
Copy link to clipboard
Copied
click your sound's keyframe where it starts.
in the properties panel select stream for the sync property
Copy link to clipboard
Copied
o man
thank you so much
now we are talking
regards
leo
Copy link to clipboard
Copied
you're welcome.
Copy link to clipboard
Copied
do you have the action script for making photo slideshow?
thanks for the support
Copy link to clipboard
Copied
Copy link to clipboard
Copied
yes, that should work if you have a different "slide" in each frame.
Copy link to clipboard
Copied
Hi Leo, I am actually new here but I think I might have figured out the solution
You might had not noticed but there is a pause button in the middle of the timeline. I don't really know what you are saying but I tried my best to fix it
Copy link to clipboard
Copied
Well there is a pause button try pressing that
Copy link to clipboard
Copied
could you tell me whats yourMC in action script you sent
to me ?
now i understood of how to deal with the action script and button instance
regards
leo
Copy link to clipboard
Copied
Copy link to clipboard
Copied
i am beggining to work with all the process now
just need what is yourMC
regards
leo
Copy link to clipboard
Copied
yourMC is the reference (absolute or relative) to the instance you want to control (ie, stop)
eg, an absolute reference would be the instance name. a relative reference would be "this" or "this.parent', for example.
Copy link to clipboard
Copied
but what am i suposed to put in the place of this expression in action script ?
regards
leo
i did not get it
thanks for the support
Copy link to clipboard
Copied
the button instance i got it
i did not get the point of what to replace in yourMC
Copy link to clipboard
Copied
the button is the instance that controls what is used to detect an action, eg a click. youMC is the actual instance you want to stop. if that instance is the timeline that contains what's on stage where you added the button code try "this", inplace of yourMC
Copy link to clipboard
Copied
ia am beggining to understand
could you send me the AC with this alteration
without the button to place(i will place it)
i dont know if i am suposed to place this or "this"
Copy link to clipboard
Copied
thanks for the support
Copy link to clipboard
Copied
try
this.stop()
in place of the line with stop()
Copy link to clipboard
Copied
ok
thanks for the support
Copy link to clipboard
Copied
does it work the way you want?
Copy link to clipboard
Copied
i will try now
Copy link to clipboard
Copied
thank you so much for the support
it pauses
but i would like to have playpause
not only pause
to play from where it stopped
how do i proceed
regards
leo
Copy link to clipboard
Copied
yout are the man
what about making a slideshow with music for each picture ?
could you send me the action script just like you sent before for pausing?
regards
leo