# Help me with this

**URL:** <https://forum.kirupa.com/t/help-me-with-this/37460>\
**Category:** Uncategorized\
**Created:** [December 10, 2003, 2:51pm UTC](https://forum.kirupa.com/t/help-me-with-this/37460 "2003-12-10T14:51:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nikini](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/nikini/32/225_2.png) [@Nikini](https://forum.kirupa.com/u/Nikini)\
**Post date:** [December 10, 2003, 2:51pm UTC](https://forum.kirupa.com/t/help-me-with-this/37460/1 "2003-12-10T14:51:02Z")

</div>

I have made a movieclip and i named it “mov”. The only thing is that…ii use flash mx2004 and if i use actionscript 1 and player 6 then it works…if i use actionscript 2 and player 7 it doesn’t work. Here it is:  
[AS]x=mov.\_x; y=mov.\_y; speed=1;  
\_root.onEnterFrame = function() {  
i++;  
mov.duplicateMovieClip(“mov”+i,i);  
\_root[“mov”+i].\_x=x;  
\_root[“mov”+i].\_y=y;  
if (Key.isDown(Key.RIGHT)) {  
x+=speed;  
}  
if (Key.isDown(Key.LEFT)) {  
x-=speed;  
}  
if (Key.isDown(Key.UP)) {  
y-=speed;  
}  
if (Key.isDown(Key.DOWN)) {  
y+=speed;  
}  
}  
[/AS]
