# Extending Objects with a Visible Element

**URL:** https://forum.kirupa.com/t/extending-objects-with-a-visible-element/194964
**Category:** flash
**Created:** [July 27, 2006, 2:53pm UTC](https://forum.kirupa.com/t/extending-objects-with-a-visible-element/194964 "2006-07-27T14:53:52Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![voxecho](https://avatars.discourse-cdn.com/v4/letter/v/278dde/32.png) [@voxecho](https://forum.kirupa.com/u/voxecho)
#### Post date: [July 27, 2006, 2:53pm UTC](https://forum.kirupa.com/t/extending-objects-with-a-visible-element/194964/1 "2006-07-27T14:53:52Z")

</div>

When extending an item with a visible element, e.g. the TextField Object how do you tie in the porperties that would be accociated with it?

for instance, in my class that extends the textfield, i still have to call createTextField (or do i?) do i have to explicitly define each of the properties and tie them to the textfield or is there a way to create the textfield that automatically binds the new tf to the new class?

ooc: if i wanted to create a textfield without using createTextField by using the  
var tf:TextField = new TextField(); what would i do to get the physical part to appear?

-Echo
