# Instance of which component?

**URL:** <https://forum.kirupa.com/t/instance-of-which-component/250086>\
**Category:** flash\
**Created:** [January 25, 2008, 12:21pm UTC](https://forum.kirupa.com/t/instance-of-which-component/250086 "2008-01-25T12:21:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![smita\_datar](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@smita\_datar](https://forum.kirupa.com/u/smita_datar)\
**Post date:** [January 25, 2008, 12:21pm UTC](https://forum.kirupa.com/t/instance-of-which-component/250086/1 "2008-01-25T12:21:44Z")

</div>

Hi,

If i drag a list component on stage giving name as my\_list.  
And one TextArea component giving name as my\_txt.  
At runtime i just wanted to know the component is instance of which class?

meance for my\_list i should get answer as List  
& for my\_txt i should get answer as TextArea.

Is there any method for this?

Please help.  
Thanks & Regards,  
-Smita.
