# Component

**URL:** <https://forum.kirupa.com/t/component/33203>\
**Category:** flash\
**Created:** [October 16, 2003, 9:35am UTC](https://forum.kirupa.com/t/component/33203 "2003-10-16T09:35:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![maroof\_d](https://avatars.discourse-cdn.com/v4/letter/m/82dd89/32.png) [@maroof\_d](https://forum.kirupa.com/u/maroof_d)\
**Post date:** [October 16, 2003, 9:35am UTC](https://forum.kirupa.com/t/component/33203/1 "2003-10-16T09:35:50Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 23, 2003, 11:42am UTC](https://forum.kirupa.com/t/component/33203/2 "2003-10-23T11:42:24Z")

</div>

well make sure that ur txt box is input so people can type into it thats pretty obvious so im sure uve done it then u need to convert it to a movie clip then add the dragging effect to that movieclip it should still be able to type into. im not particularly good with handlers but i would put them in flash not a class file works easier if its all in flash but every1 to there own so i dont know bout that 1 sorry

-Tom
