# Increase \_alpha to certain percent

**URL:** <https://forum.kirupa.com/t/increase--alpha-to-certain-percent/99566>\
**Category:** Uncategorized\
**Created:** [January 20, 2004, 2:37am UTC](https://forum.kirupa.com/t/increase--alpha-to-certain-percent/99566 "2004-01-20T02:37:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![markhegz](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@markhegz](https://forum.kirupa.com/u/markhegz)\
**Post date:** [January 20, 2004, 2:37am UTC](https://forum.kirupa.com/t/increase--alpha-to-certain-percent/99566/1 "2004-01-20T02:37:33Z")

</div>

im using the current code on an mc to fade in [AS]onClipEvent(load){  
this.\_alpha = 0  
fadespeed = 15;  
}  
onClipEvent(enterFrame){  
\_alpha += fadespeed;  
} [/AS]

how can i make this increment until it reaches 75% instead of 100?
