So, i am currently engaged in a silly little flash project, and i have trouble with this actionscript shit.
I have this button, with the script
stop()
playButton.addEvent Listener ( MouseEvent.CLICK, myStartHandler )
function myStartHandler( evt ){
gotoAndPlay(1);
}
but that only makes the small clip play once everytime i click it, and nor does it restart the music.
The clip is consisting of two pictures, one regular one and one gloomy "glow" one, the glowing one is fading and "pulsating/pulsing" (lol, unno the right word for it), and i got a audio layer for it to.
The playback works fine without the actionscript, the movie pulses to the music as i want it to, but i need to make a start button for the whole thing.
So, anyone with earlier experience in flash cs4 which can help me out?