# \_root.mc.\_alpha == 100

**URL:** <https://forum.kirupa.com/t/-root-mc--alpha-100/101745>\
**Category:** Uncategorized\
**Created:** [February 13, 2004, 10:02am UTC](https://forum.kirupa.com/t/-root-mc--alpha-100/101745 "2004-02-13T10:02:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![reweb](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/reweb/32/135_2.png) [@reweb](https://forum.kirupa.com/u/reweb)\
**Post date:** [February 13, 2004, 10:02am UTC](https://forum.kirupa.com/t/-root-mc--alpha-100/101745/1 "2004-02-13T10:02:40Z")

</div>

Hi. Need some help.

I have this code. It works fine when i press a button.  
[AS]

if (\_root.mc.\_alpha == 100) {  
this.onEnterFrame = function() {  
speed = 50;  
alpha = 0;  
a = alpha - \_root.mc.\_alpha  
\_root.mc.\_alpha += a/speed;

}

[/AS]

What I need?  
I need to know how can I trace the \_alpha value of the mc and when the value is 0 a movie clip is loading in the same mc.

Thanks in advance.

🍺
