Pause?
- Started
- Last post
- 4 Responses
- Adrodg
This may be a really stupid question, but I've been up for nearly two days, and need some help otherwise I may have to cry.
I'm making a motion presentation in flash, and the client wants a pause function. Just a simple button which starts and stops the movie.
I've made my movie, in 5 movieclips in frames 1,2,3,4 +5 on the root timeline,
Anyone got any ideas? I don''t have time to work it out myself, as I've got about 3 Billion other animations to finish in the next 6 hours, and I'm not much of a code beast (although its most probably easy as fuck)Cheers peeps
- Adrodg0
Anyone know what I'm talkin about?
- boeser0
make a button and put it in every movieclip you want to pause.
Put the following script on the button
on(release){
if (_root.movieIsPlaying){
this.stop()
_root.movieIsPlaying = false
} else {
this.play()
_root.movieIsPlaying = true
}
}in the first frame of the root set the value of movieIsPlaying = true or false
a bit shabby put works
- Adrodg0
Cmon guys, do it for a better tomorrow!
- Adrodg0
Cheers boeser, I might get some sleep yet!
I'll let you know when I sort it
:)