# Component's name (kind)

**URL:** https://forum.kirupa.com/t/components-name-kind/190838
**Category:** flash
**Created:** [June 15, 2006, 12:47am UTC](https://forum.kirupa.com/t/components-name-kind/190838 "2006-06-15T00:47:42Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![NinoScript](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ninoscript/32/1484_2.png) [@NinoScript](https://forum.kirupa.com/u/NinoScript)
#### Post date: [June 15, 2006, 12:47am UTC](https://forum.kirupa.com/t/components-name-kind/190838/1 "2006-06-15T00:47:42Z")

</div>

I need to know the type of a component, something like

```auto

//i have a DateField named abc
trace(typeof(abs)); // should return "DateField"

```

but that’s not possible, so i tried doing this:

```auto

DateField.prototype._typeof = "DateField";
trace(abs._typeof); // should return "DateField"

```

but, components come from UIObject, but not from Objects, so they dont have the “prototype” method ☹

is there anyway you can think of?

:\*(
