LocalConnection between main SWF and other SWF doesn't work!
Hello, can somebody help me!!
I have one main SWF within several SWF's. I want add the score from every level to the main SWF.
But I have also a code to unload every SWF before another SWF starts. I figured out how to do that.
But I don't know.
The code I have is something like this:
The level.SWF
stop();
var sending_score:LocalConnection = new LocalConnection()
sending_score.send('_myConnection','add_score');
var App_Timer1:Timer = new Timer(100,1); //After 3 Seconds the timer causes the movie to jump to the next frame
App_Timer1.addEventListener(TimerEvent.TIMER_COMPLETE, startApp1);
App_Timer1.start();
function startApp1(event:TimerEvent):void {
gotoAndPlay(105);
}
