If you mean with a movie that's just using the main timeline:
on (release)
{
_root.stop();
}
to stop everything ull hav to uyse
stopAllSounds()
(proly wrong sytax but somthin liek taht)
OS: Ace, coming soon to Newgrounds. Keep an eye out for it.
At 8/2/06 02:41 PM, GamesCool wrote: If you mean with a movie that's just using the main timeline:
on (release)
{
_root.stop();
}
i think he meant a pause button when you hit p
Make your button, put this in the sctions panel:
on(release){
_root.stop();
}
It's that easy.
Play buttons are the same, but this is the actionsscript:
on(release){
_root.play();
}
Go crazy.