# Alpha if/else question

**URL:** <https://forum.kirupa.com/t/alpha-if-else-question/53477>\
**Category:** Uncategorized\
**Created:** [June 4, 2004, 5:25am UTC](https://forum.kirupa.com/t/alpha-if-else-question/53477 "2004-06-04T05:25:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dru\_nasty](https://avatars.discourse-cdn.com/v4/letter/d/90db22/32.png) [@dru\_nasty](https://forum.kirupa.com/u/dru_nasty)\
**Post date:** [June 4, 2004, 5:25am UTC](https://forum.kirupa.com/t/alpha-if-else-question/53477/1 "2004-06-04T05:25:21Z")

</div>

On a movie clip I have the following:

```auto

onClipEvent(load){
	this._alpha = 0;
}
onClipEvent (enterFrame) {
	if (this._alpha <= 0){
		this._alpha +=5;
	}
}

```

This only increases the alpha one step. Seems like the (enterframe) isn’t repeating. Should I add an else statement to tell it when to stop?  
I suck.
