# Fading in content

**URL:** <https://forum.kirupa.com/t/fading-in-content/146458>\
**Category:** Uncategorized\
**Created:** [May 1, 2005, 5:30pm UTC](https://forum.kirupa.com/t/fading-in-content/146458 "2005-05-01T17:30:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bohner](https://avatars.discourse-cdn.com/v4/letter/b/54ee81/32.png) [@Bohner](https://forum.kirupa.com/u/Bohner)\
**Post date:** [May 1, 2005, 5:30pm UTC](https://forum.kirupa.com/t/fading-in-content/146458/1 "2005-05-01T17:30:35Z")

</div>

Hi.

I want [this](http://bohner.asdf.pl/misc/info.rar) swf to fade in when the text in it is loaded. Later on, it will be loaded into a containerMC in the master.swf. I’ve tryed smt like this:  
function animate():Void {  
myMc.\_alpha++;  
updateAfterEvent();  
}  
myMc.\_alpha = 0;  
var nInterval:Number = setInterval(animate, 100);

myMc is the whole contents of info.swf, but flash gives me an error every time.

Now I know that I can add a white rectange tween and fade it, but the master.swf that I’m loading it in, hasn’t got a solid white bg.

Thx.
