# Flash component registration and crosshair

**URL:** <https://forum.kirupa.com/t/flash-component-registration-and-crosshair/172907>\
**Category:** flash\
**Created:** [December 19, 2005, 4:15pm UTC](https://forum.kirupa.com/t/flash-component-registration-and-crosshair/172907 "2005-12-19T16:15:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pjindent](https://avatars.discourse-cdn.com/v4/letter/p/ba8739/32.png) [@pjindent](https://forum.kirupa.com/u/pjindent)\
**Post date:** [December 19, 2005, 4:15pm UTC](https://forum.kirupa.com/t/flash-component-registration-and-crosshair/172907/1 "2005-12-19T16:15:20Z")

</div>

I am having trouble with registering a MC. Initially a MC has the circle and crosshair at the center of the MC. Using Free Transform, I am able to move the circle to the left-top corner, but I am unable to move the crosshair to the left-top. How do I do this?

I have several draggable components and I am trying to write a general function to make sure the components do not get out of bounds of dimensions of the stage.

It so happens that each of the draggable components in my app have crosshairs located all over the place. I would like to move crosshair for all components to top-left, so I can say  
if (one\_mc.\_x \< 10) one\_mc.\_x = 10.

From what I can tell \_x refers to the position of the crosshair with respect to \_root.
