I’m looking for a kind of script so i can pause/continue my flash movie. I’ve made a button in a new flash file. Now i can load the .swf file in my movie but how can i make my button pause/continue it?? Is there some kind of script for it? I hope someone can help me because i have searched for so long now.
i´ve noticed that this is your first post here, so, WELCOME TO KITUPAVILLE! =)
If i undrstand you, and i think i did, what you need is this code:
on(press){
_level#.stop();
}
[SIZE=1]^ pause button[/SIZE]
on(press){
_level#.play();
}
[SIZE=1]^ play button[/SIZE]
remember to replace the ’ # ’ with the level of the loaded movie.
ps: this code will only work if you´re loading movies by levels… if you loading by targets you´ll need to replace the _level#. with the path to this target.