# How to add dynamic buttons and actions with actionscript

**URL:** <https://forum.kirupa.com/t/how-to-add-dynamic-buttons-and-actions-with-actionscript/247979>\
**Category:** flash\
**Created:** [January 2, 2008, 1:45pm UTC](https://forum.kirupa.com/t/how-to-add-dynamic-buttons-and-actions-with-actionscript/247979 "2008-01-02T13:45:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sattt](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@sattt](https://forum.kirupa.com/u/sattt)\
**Post date:** [January 2, 2008, 1:45pm UTC](https://forum.kirupa.com/t/how-to-add-dynamic-buttons-and-actions-with-actionscript/247979/1 "2008-01-02T13:45:36Z")

</div>

I would like to add dynamic buttons or mc’s and release action for that.

The purpose is,

When a country link on flash is clicked, respective states(from db taken as xml) should be shown and when each state is clicked a popup box( browser ) should open with the state id passed.

How may i do it…

Thanks in advance

Regards  
Sattt
