# Generate button, attach script, from array?

**URL:** <https://forum.kirupa.com/t/generate-button-attach-script-from-array/189752>\
**Category:** flash\
**Created:** [June 6, 2006, 12:33am UTC](https://forum.kirupa.com/t/generate-button-attach-script-from-array/189752 "2006-06-06T00:33:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![petermdenton](https://avatars.discourse-cdn.com/v4/letter/p/5daacb/32.png) [@petermdenton](https://forum.kirupa.com/u/petermdenton)\
**Post date:** [June 6, 2006, 12:33am UTC](https://forum.kirupa.com/t/generate-button-attach-script-from-array/189752/1 "2006-06-06T00:33:37Z")

</div>

Hello,  
Does anyone have any helpful suggestions as how to A) generate a button and then b) attach script to it dynaimcally from an array?

Thanks,  
Pete

---

<div class="post-metadata">

**Author:** ![petermdenton](https://avatars.discourse-cdn.com/v4/letter/p/5daacb/32.png) [@petermdenton](https://forum.kirupa.com/u/petermdenton)\
**Post date:** [June 6, 2006, 5:27pm UTC](https://forum.kirupa.com/t/generate-button-attach-script-from-array/189752/2 "2006-06-06T17:27:06Z")

</div>

Thanks Defective! I really appreciate it.
