# I need a solution for this

**URL:** <https://forum.kirupa.com/t/i-need-a-solution-for-this/190411>\
**Category:** Uncategorized\
**Created:** [June 11, 2006, 2:59pm UTC](https://forum.kirupa.com/t/i-need-a-solution-for-this/190411 "2006-06-11T14:59:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anuradar](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@anuradar](https://forum.kirupa.com/u/anuradar)\
**Post date:** [June 11, 2006, 2:59pm UTC](https://forum.kirupa.com/t/i-need-a-solution-for-this/190411/1 "2006-06-11T14:59:11Z")

</div>

i have created a dynamic movieclip using lineTo and curveTo methods.  
i drag this using startDrag(), if this hits another movieclip which is static in the stage, i need to set the xy of the dynamically drawn movieclip to that of the static movieclip. how do i do this?pls give me the solution.
