# \[mx 2004\] fade in embedded text

**URL:** https://forum.kirupa.com/t/mx-2004-fade-in-embedded-text/205800
**Category:** flash
**Created:** [November 2, 2006, 2:18am UTC](https://forum.kirupa.com/t/mx-2004-fade-in-embedded-text/205800 "2006-11-02T02:18:39Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![skellykitten](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@skellykitten](https://forum.kirupa.com/u/skellykitten)
#### Post date: [November 2, 2006, 2:18am UTC](https://forum.kirupa.com/t/mx-2004-fade-in-embedded-text/205800/1 "2006-11-02T02:18:39Z")

</div>

I’m trying to get some text to fade in and I’d like to do it purely actionscript if possible  
I’ve already embedded the font. On the stage I have 2 movieclip buttons, and a dynamic text box (instance name t) this is the code I have, which works but the text just appears, and I’d like it to fade in. I’ve tried a bunch of thisngs with \_alpha but it’s not working. Any help- I’d just like it to go from 0 to 100 when the movieclip buttons are pressed.

```auto

var headerText:String = "";

mc_btn.onRelease = function(){    
    headerText = "fashion design";
    t.text = headerText;
}
    

    mc2_btn.onRelease = function(){
    headerText = "portfolio";
     t.text = headerText;
    
    }

```

Any help? Thanks!
