Hi there, I’m trying to achive the following, but it doesn’t work…what am I doing wrong?
[COLOR=SeaGreen]*myMovieClip.myButton.addEventListener(MouseEvent.CLICK, jumpToSection(‘contact’));
function jumpToSection(sectionName:String):void{
myMovieClip.mySectionsMovieClip.gotoAndPlay(sectionName);
}*[/COLOR]
Seem like a logical approach to me but then again I’m not really a flash developer
Cheers,
Mikael