Hi all,
I am using the below function in one of my application, but its not working. It says 1120: Access of undefined property btnTwo.
For button I have given the instance name as btnTwo
btnTwo.addEventListener(MouseEvent.CLICK, btn2);
function btn2(event:MouseEvent):void {
gotoAndPlay(24);
}
Please help me how will I correct it.
Thanks in advance