# Working with an if statement, could use some help, please

**URL:** <https://forum.kirupa.com/t/working-with-an-if-statement-could-use-some-help-please/191549>\
**Category:** Uncategorized\
**Created:** [June 21, 2006, 7:37am UTC](https://forum.kirupa.com/t/working-with-an-if-statement-could-use-some-help-please/191549 "2006-06-21T07:37:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeradin](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jeradin/32/2485_2.png) [@Jeradin](https://forum.kirupa.com/u/Jeradin)\
**Post date:** [June 21, 2006, 7:37am UTC](https://forum.kirupa.com/t/working-with-an-if-statement-could-use-some-help-please/191549/1 "2006-06-21T07:37:37Z")

</div>

Hello there,

I have a movie clip called mover that I can ease up and down with buttons, and some action script to alpha a box if the top of the mover clip goes above the top of a stopper clip.

Its an if statement and sadly only runs once. I made a controller movieclip which I thought would trigger the if statement each time the onEnterFrame was crossed… but sadly it doesnt work.

I have sreached and read alot and am just stumpped, and yes a novice at AS…

I have attached a fla below, I cleaned it up alot so it should be pretty straight forward if someone to look through. If someone is willing to take a look at it, that would be great. Or point me in a different direction.

Thanks so much,

Dale
