# \*\*\*button to add/open new object/movieclip\*\*\*

**URL:** <https://forum.kirupa.com/t/button-to-add-open-new-object-movieclip/284940>\
**Category:** flash\
**Created:** [March 25, 2009, 11:30am UTC](https://forum.kirupa.com/t/button-to-add-open-new-object-movieclip/284940 "2009-03-25T11:30:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![adiosamigos](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@adiosamigos](https://forum.kirupa.com/u/adiosamigos)\
**Post date:** [March 25, 2009, 11:30am UTC](https://forum.kirupa.com/t/button-to-add-open-new-object-movieclip/284940/1 "2009-03-25T11:30:23Z")

</div>

Hi,

I’m creating a document that has a scrollpane.  
Inside the scrollpane is a small movieclip with an iput text box.  
I want to create a button outside the scrollpane that when clicked will add another of the same movieclip and append it to the last one.  
This way the user can keep adding feilds.  
I have no idea what the script is that i need to use on the button. I can probably tweek it to work inside the scrollpane myself but i don’t know where to begin with the script.

Please help.

Thanks tom
