
//function in main.swf
function appear (event:MouseEvent):void{
TweenLite.to(title1, 1, {autoAlpha:1, overwrite:false});
}
//try to call from loaded content.swf
close_btn.addEventListener(MouseEvent.CLICK, btnClick);
function btnClick(event:MouseEvent):void {
MovieClip(parent.parent).appear();
}
I got an error message as soon as i click on close_btn. It says appear() is not a property or method.
Would someone help me out on this please?
Thank you very much.
If you would like to make a comment, please fill out the form below.
Recent Comments