# Dynamic buttons

**URL:** <https://forum.kirupa.com/t/dynamic-buttons/320308>\
**Category:** Uncategorized\
**Created:** [March 20, 2011, 12:37am UTC](https://forum.kirupa.com/t/dynamic-buttons/320308 "2011-03-20T00:37:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![red2034](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@red2034](https://forum.kirupa.com/u/red2034)\
**Post date:** [March 20, 2011, 12:37am UTC](https://forum.kirupa.com/t/dynamic-buttons/320308/1 "2011-03-20T00:37:39Z")

</div>

I would like to build XML driven vertical buttons that resize to a total ( If I have one btn it will be 100%, if I have three btns they will be 33.333% - 4 btns will be 25% each and so on - hope that makes sense…) 100% stage height. I am having a hard time finding examples or code online to do this.  
Please help!  
Red
