# {MX} simple movement question

**URL:** <https://forum.kirupa.com/t/mx-simple-movement-question/52950>\
**Category:** flash\
**Created:** [May 29, 2004, 5:22am UTC](https://forum.kirupa.com/t/mx-simple-movement-question/52950 "2004-05-29T05:22:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![D90](https://avatars.discourse-cdn.com/v4/letter/d/41988e/32.png) [@D90](https://forum.kirupa.com/u/D90)\
**Post date:** [May 29, 2004, 5:22am UTC](https://forum.kirupa.com/t/mx-simple-movement-question/52950/1 "2004-05-29T05:22:55Z")

</div>

have a question about flash of i have ok maybe you might be able to help ok ionClipEvent(enterFrame) {  
speed = -1; t  
his.\_y += speed

and i want it to stop after it goes up a bit but when i add a stop it dont go all together how would i do that???

would it be like this???

onClipEvent(load){  
this.onEnterFrame = function(){  
if(condition){  
delete this.onEnterFrame;  
} else { // do something; }
