OH DEAR GOD PLEASE HELP W/ Button
For 3 day I've been trying to get this button to work with no luck.
my button name is next_btn.
The code I'm using in the actions layer of the MC with the button:
next_btn.addEventListener(MouseEvent.CLICK,onBtnCl ick);
function onBtnClick(event:MouseEvent):void{
this.overlay_mc.nextFrame()
}
The error I get:
TypeError: Error #1010: A term is undefined and has no properties.
at homeFeatureGallery_fla::nav_mc_5/onBtnClick()
I watch every tutoral, read every post and still cant get even this simple code to work. Is it suppose to be this hard!
Please help!