Try invalidate(); OR figSelector.invalidate();
on your parent's creationComplete event handler. I'm not so sure about your second question. Are you having trouble removing a skin that you've applied? Hyder www.alamgirdesigns.com --- In flexcoders@yahoogroups.com, Ben Cessa <bce...@...> wrote: > > Hi again, right now I'm just playing a little with AIR and PV3D > writing a little useless app as an exercise. I'm having an odd problem > with ButtonBar, the thing don't get the horizontal center when the > apps starts, is aligned to the left, however, as soon as I start > resizing the main window it works very nice. Any ideas about what > could this be? > > The actual portion of code I'm using is this: > > <mx:ButtonBar id="figSelector" > width="100%" height="100%" > horizontalGap="20" horizontalCenter="0" > verticalAlign="middle" > buttonWidth="50" buttonHeight="50"> > > And here's a little screencap of what the component shows at startup > > > > By the way, I'm also having problems removing that ugly background > from the buttons, can't figure out the skin needed, I was thinking in > use a 100% transparent PNG as background image but I'm not sure, just > in case someone know how to remove that too :P > > Well, thanx a lot for your attention and I hope someone can give me > hand with this >