# Making a smart component

**URL:** https://forum.kirupa.com/t/making-a-smart-component/168759
**Category:** Uncategorized
**Created:** [November 9, 2005, 7:34pm UTC](https://forum.kirupa.com/t/making-a-smart-component/168759 "2005-11-09T19:34:40Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![9604\_9604\_9604](https://avatars.discourse-cdn.com/v4/letter/9/9f8e36/32.png) [@9604\_9604\_9604](https://forum.kirupa.com/u/9604_9604_9604)
#### Post date: [November 9, 2005, 7:34pm UTC](https://forum.kirupa.com/t/making-a-smart-component/168759/1 "2005-11-09T19:34:40Z")

</div>

in Macromedia flash MX i noted that the scollbar component when is droped over a textbox, it take the name of that textbox like a target text box… how is this done? I mean, how the component knows where i’m droping him?? and how it knows that is a textbox object and no another thing…

Thanks!
