Component

I’m writing a TextComponent. it has 2 things:

  1. a TextArea component, for editing text.
  2. A MovieClip, which is outside the TextArea and appears on focus. used for dragging the component and placing it anywhere.

When i design the component, should i place the TextArea inside the dragger movieclip and say “Convert to Symbol”, or some other way???
can someone help me.
The MovieClip should be able to move (dragging support) n the TextArea shud be editable. the handlers should be in the class file, not fla.

Please help me. i have tried a lot of different things.