# FMX 2004 Help

**URL:** <https://forum.kirupa.com/t/fmx-2004-help/169648>\
**Category:** flash\
**Created:** [November 18, 2005, 12:32am UTC](https://forum.kirupa.com/t/fmx-2004-help/169648 "2005-11-18T00:32:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sixfngers](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@sixfngers](https://forum.kirupa.com/u/sixfngers)\
**Post date:** [November 18, 2005, 12:32am UTC](https://forum.kirupa.com/t/fmx-2004-help/169648/1 "2005-11-18T00:32:40Z")

</div>

i have created instances of a movieclip dynamically with a duplicate movieclip action. now i want those dynamic instances to be draggable.  
this is the code that creates the dup movieclip

var i = 0  
clip.onPress = function(){  
i++  
this.duplicateMovieClip(“clip”+i, i)  
eval(“clip”+i).startDrag(false)  
}  
clip.onReleaseOutside = function(){  
eval(“clip”+i).stopDrag();  
}  
clip.onRelease = clip.onReleaseOutside

\<-----------------end of code----------------------------\>

how do i make the dynamic clips draggable. i tried to anticipate the name of the new movieclip by using the code below but that didnt work.

clip1.onPress = function(){  
this.startDrag(true)  
}

the goal is to create a building block game and i want the user to have an unlimited supply of shapes.

thanks in advance for any help you can offer.
