Hey all-
Got a big problem. This is pretty much the shortest explanation. To begin, think of it as a music player.
I have a movie clip. In that are two buttons that control a PAUSE in the action and a PLAY. Also in this movie clip, I have another layer that contains music.
This is the actionscript coding for the two buttons:
FOR THE STOP/PAUSE:
on(release) {
gotoAndStop(1);
}
FOR THE PLAY:
on(release) {
gotoAndPlay(1);
}
Basically the problem is that they're not responding to my demands! I'm clicking them and nothing happens, the music keeps on playing. Is it the fact that they're within a movie clip? The buttons and the music are all in together in the same movie clip.
Any help would be great.
vitcheff - 29 Jan 2004 16:30 GMT
playButton:
on(release){
_root.myMovieClip.gotoAndPlay(1);
}
pauseButton:
on(release){
_root.myMovieClip.gotoAndStop(1);
}
Flash needs a reference to the movieClip, which you want to play and pause.
hope this helps
The greatest nonsense is like the greatest number...