# Alpha Tween external swf file

**URL:** <https://forum.kirupa.com/t/alpha-tween-external-swf-file/290527>\
**Category:** flash\
**Created:** [June 16, 2009, 5:40am UTC](https://forum.kirupa.com/t/alpha-tween-external-swf-file/290527 "2009-06-16T05:40:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jallouf](https://avatars.discourse-cdn.com/v4/letter/j/eb8c5e/32.png) [@jallouf](https://forum.kirupa.com/u/jallouf)\
**Post date:** [June 16, 2009, 5:40am UTC](https://forum.kirupa.com/t/alpha-tween-external-swf-file/290527/1 "2009-06-16T05:40:20Z")

</div>

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);  
}
