[flexcoders] Re: horizontalAlign Puzzling
Yup that did it! --- In flexcoders@yahoogroups.com, "turbo_vb" wrote: > > I think because horizontalAlign is a style, not a property. Try setStyle(); > > -TH > > --- In flexcoders@yahoogroups.com, "criptopus" wrote: > > > > var boxArray:Array=new Array(); > > var boxIdx:int=boxArray.length; > > boxArray.push(new Box()); > > boxArray[boxIdx].percentWidth=100; > > > > Why not...? > > > > boxArray[boxIdx].horizontalAlign="center"; > > > > - Stephen > > >
[flexcoders] Re: horizontalAlign Puzzling
I think because horizontalAlign is a style, not a property. Try setStyle(); -TH --- In flexcoders@yahoogroups.com, "criptopus" wrote: > > var boxArray:Array=new Array(); > var boxIdx:int=boxArray.length; > boxArray.push(new Box()); > boxArray[boxIdx].percentWidth=100; > > Why not...? > > boxArray[boxIdx].horizontalAlign="center"; > > - Stephen >