Does anyone have a sure fire way of dynamically creating rows and columns of buttons. Here is the situation, I have an .fla which represents a screen in an application. This screen has a variable called maxButton. Say, for example, on the screen "Home" I have 11 buttons. I want 3 colums with each colum consisting of, if possible the same number of buttons. Or, two of the columns with the same number of buttons and the odd column with the remaining.
Does this make sense?

Please, all help is most appreciated.

Thank you