I am attempting to preload a SWF and place it in my stage. Everything seems to work great except when I alpha up the container containing the SWF, I see that the alpha edges have a lot of "scunge" around them. If I leave the alpha of the container at 100, there is no problem. Anyone have any thoughts or similar experiences?
Here's my code:
LoaderMax.activate([MP3Loader, SWFLoader, VideoLoader]);
var loader:XMLLoader = new XMLLoader("preloadlist.xml", {onComplete:completeHandler, estimatedBytes:50000, onProgress:progressHandler});
loader.load();
function hideDoodle(event:LoaderEvent):void {
ExternalInterface.call("showAds()");
container_entry.alpha=0;
Tweener.addTween(container_home,{alpha:100, time:1, transition:"easeOut"});
Tweener.addTween(doodle_mc,{alpha:0, time:.5, transition:"easeOut"});
Tweener.addTween(doodle_pad,{scaleX:0,scaleY:0, time:2, transition:"easeOut"});
}
function completeHandler(event:LoaderEvent):void {
var home_v6:SWFLoader = LoaderMax.getLoader("home_v6");
container_home.addChild(home_v6.content);
container_home.alpha=0;
setChildIndex(doodle_pad,2);
setChildIndex(container_home,1);
if (visited == "no") {
//PLAY WELCOME VIDEO
var video:VideoLoader = LoaderMax.getLoader("E1-ENTRY");
container_entry.addChild( video.content );
video.playVideo();
video.addEventListener("videoComplete", hideDoodle);
}else{
ExternalInterface.call("showAds()");
Tweener.addTween(doodle_mc,{alpha:0, time:1, transition:"easeOut"});
Tweener.addTween(container_home,{alpha:100, time:1, transition:"easeOut"});
Tweener.addTween(doodle_pad,{scaleX:0,scaleY:0, time:2, delay:2, transition:"easeOut",onComplete:function(){container_home.vid_bottom.play();}});
}
var queue2:LoaderMax = LoaderMax.getLoader("queue2");
queue2.addEventListener(LoaderEvent.COMPLETE, queue2CompleteHandler);
queue2.load();
}
Many thanks in advance. This is a great preloader!