Mmmmmmmmmmmmmm
New member
ok so i'm doing a homework which i need to submit on monday.
i have 3 buttons in 1 layer named buttons.
here's the action script:
button1.onRelease = function () {
gotoAndPlay(2);
}
button2.onRelease = function () {
gotoAndPlay(3);
}
button3.onRelease = function () {
gotoAndPlay(4);
}
and i have 3 video on my layer named video. which occupy 1keyframe each.
now my problem is. when i press button3 it runs the video 1 and 2 and when i press button 3 it runs all the video.
how can i stop playing the other and play the specific video in the frame that i pointed?
i have 3 buttons in 1 layer named buttons.
here's the action script:
button1.onRelease = function () {
gotoAndPlay(2);
}
button2.onRelease = function () {
gotoAndPlay(3);
}
button3.onRelease = function () {
gotoAndPlay(4);
}
and i have 3 video on my layer named video. which occupy 1keyframe each.
now my problem is. when i press button3 it runs the video 1 and 2 and when i press button 3 it runs all the video.
how can i stop playing the other and play the specific video in the frame that i pointed?