I want to create an HBox component; for example HLBox that behaves exactly like an HBox but has as default width and height 100%.
How can I do that?
actionscriptactionscript-3apache-flexflex3
I want to create an HBox component; for example HLBox that behaves exactly like an HBox but has as default width and height 100%.
How can I do that?
Best Answer
Create a
HLBox.mxml
file and add the following code to it.And use
HLBox
as you would useHBox