# D20 Actionscript help

**URL:** <https://forum.kirupa.com/t/d20-actionscript-help/167427>\
**Category:** flash\
**Created:** [October 28, 2005, 2:44am UTC](https://forum.kirupa.com/t/d20-actionscript-help/167427 "2005-10-28T02:44:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ragnarok](https://avatars.discourse-cdn.com/v4/letter/r/4af34b/32.png) [@Ragnarok](https://forum.kirupa.com/u/Ragnarok)\
**Post date:** [October 28, 2005, 2:44am UTC](https://forum.kirupa.com/t/d20-actionscript-help/167427/1 "2005-10-28T02:44:33Z")

</div>

okay, for everyone out there who doesn’t know, a D20, is a 20 sided-die, and i’m trying to create one in Flash. the only problem is, i don’t know actionscript all that well, and i know what i want it to do, and i know most of the singular scripts, but i don’t know how to chain them together. :-/ Basically, what i want to do, is click on a Button symbol named D20Button, and have the computer randomly select a number between 1 and 20, intergers only, and display them in a dynamic textbox called D20. Any help with this would be greatly appreciated.
