Not sure what your requirements are, but I usually just track dynamic
objects in an array:**
var radioButtons:Array = new Array();
for ( var i:int = 0; inumBtns; i++ ) {
var rb:RadioButton = new RadioButton();
rb.property = value;
.
.
radioButtons.push( rb );
}
On 11/17/06, dj [EMAIL
Another thing could be;
myRadio[b+i]:RadioButton = new RadioButton();
if you are trying to name them
var button:RadioButton = new RadioButton();
myRadio.name = b + i;
then if you are trying to query the button by name;
var button:RadioButton = RadioButton(myParent.getChildByName(b + i));
I know I've posted this already. Sorry, just trying to get this
populated in Actionscript, so I thought I'd
post again since I've been kind of stuck on this point here.
Thanks,
Patrick
3 matches
Mail list logo