Noob help: Triggering Movie Clips with Buttons
hi guys,
i'm taking intro flash , action script class , final need create portfolio project contains 5 unique buttons trigger 5 unique movie clips. i'm having hard time this. i've been able trigger 1st movie clip first button (although can't stop it) can't trigger ohter movies other buttons.
here's code:
stop();
chuck1_btn.addeventlistener(mouseevent.click, playmovie);
function playmovie(event:mouseevent):void
{
spaceship_mc.play();
}
chuck2_btn.addeventlistener(mouseevent.click,playsaucers);
function playsaucers(event:mouseevent):void
{
saucers_mc.play();
}
nothing happens when click on chuck2_btn when test movie. think need create variable or class i'm not sure. i'm super noob stuff. thoughts? thanks!
rick
there's nothing wrong code, getting error messages?
More discussions in ActionScript 3
adobe
Comments
Post a Comment