# Movement works in mx,not mx 04

**URL:** https://forum.kirupa.com/t/movement-works-in-mx-not-mx-04/98692
**Category:** Uncategorized
**Created:** [January 9, 2004, 8:26pm UTC](https://forum.kirupa.com/t/movement-works-in-mx-not-mx-04/98692 "2004-01-09T20:26:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![macneilslt](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@macneilslt](https://forum.kirupa.com/u/macneilslt)
#### Post date: [January 9, 2004, 8:26pm UTC](https://forum.kirupa.com/t/movement-works-in-mx-not-mx-04/98692/1 "2004-01-09T20:26:19Z")

</div>

hey, I use flash mx, but i’ve been staying at a friends house lately who uses mx 04, i was wondering a few things like…how come this movement script works in mx, but not mx 04…  
placed on a mc that i want to move around

[AS]  
onClipEvent(enterFrame) {  
if(key.isDown(key.RIGHT)) {  
this.\_x += 5;  
}  
else if(key.isDown(key.LEFT)) {  
this.\_x -=5;  
}  
}

[/AS]

so why does this work for mx, but not mx 04
