External SWF doesn't Load
Hey Guys i have a problem :'c it seems like external swf's don't Load when i export the movie .swf (it's working fine on debug) . If i create a Program to Load the Swf.. i'm currently using app.path to load the swf soo the swf is loaded in the same folder as the program. It Loads the Main Swf if i load external swf it doesn't Loaad :cthe problem isn't the syntax i checked and it does trace
Code:
var isSet3:Boolean = false
var Sentinelurl:URLRequest = new URLRequest("sentinels.swf");
var sentinel:Loader = new Loader();
menu.s_btn.addEventListener(MouseEvent.CLICK, l_sentinel);
function l_sentinel(e:Event) {
if (isSet3 == false)
{
Security.allowDomain("*")
sentinel.load(Sentinelurl);
addChild(sentinel);
sentinel.x = 0;
sentinel.y = 0
setChildIndex(sentinel, 2);
isSet3 = true
}else{
removeChild(sentinel);
isSet3 = false
}
}
I repeat the process 5x times to load other things.. and stuff, also it loads only one the others don't what is 100% Weird
I know, I know the name is horrible - Any Help.. Please?
By the Way i'm sorry about my enlish thought i'm not naturatly english.
