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));

Peace, Mike


On 11/19/06, slangeberg <[EMAIL PROTECTED]> wrote:

  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; i<numBtns; i++ ) {
   var rb:RadioButton = new RadioButton();
   rb.property = value;
  .
   .
   radioButtons.push( rb );
}

On 11/17/06, dj <[EMAIL PROTECTED] > wrote:
>
>   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
>
>


--

: : ) Scott




--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.

Reply via email to