I’m new to Actionscript 3.0 and I’m having trouble with this code. My external swf is loading fine, it’s the alpha tween that does not seem to be responding. I thought if I tween the holder movie clip that would affect the imported swf but it’s not working. If anybody has any solutions that would be much appreciated.
import fl.transitions.Tween;
import fl.transitions.easing.*;
var swfLoader:Loader = new Loader();
var bgURL:URLRequest = new URLRequest(“work.swf”);
hold_mc.addChild(swfLoader);
swfLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadProdComplete);
swfLoader.load(bgURL);
function loadProdComplete(e:Event):void
{
trace(“file loaded”);
}
function fadeIn(e:Event):void
{
var tweenfadeIn:Tween = new Tween(hold_mc, “alpha”, None.easeOut, 0, 1, 1, true);
}