I’ve been searching around the forum, and couldn’t find a solution. Any help would be very much appreciated…
Ok I have two movies… parent.swf and content.swf, and I’m trying to call a function in my main.swf from my content.swf. Here is the code…
//function in main.swf
function appear (event:MouseEvent):void{
TweenLite.to(title1, 1, {autoAlpha:1, overwrite:false});
}
//try to call from 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?
THANKS ALOT