Can any1 help me out?

My component is a TextComponent.

prob: Inheritance

class y extends MovieClip{
//overrids onPress, onRelease etc. methods
}

class x extends y
{
// i need a TextArea for editing n a MovieClip surrounding it
//which enables dragging…implemented in class y.

}

i took a movieclip, put a TextArea in it and converted into a MovieClip. everythg has an instance name. now, when i point at any part of the component, i can drag it…it does’nt show the edit icon over the TextArea.
I’m pretty confused abt it.
Pleaseeeeeee Help me out!!!