Any style needs to be set with setstyle, i know it's kinda weird. So...
hBox.setStyle("paddingTop", 10) blamo! It works! --- In flexcoders@yahoogroups.com, Josh Millstein <[EMAIL PROTECTED]> wrote: > > Hello, > > How can I set paddingTop etc. when creating an HBox in actionscript. I > can't do > > hBox:HBox = new HBox(); > hBox.paddingTop = 10; > > Also, how can I set a HBox width to a percentage. > I can't do > hBox.width = "100%"; > > Thanks for any help >