User Guide
446 Appendix B: XML to UI
<checkbox id="checkbox4" label="checkbox4"/>
<checkbox id="checkbox5" label="checkbox5"/>
</hbox>
</vbox>
</dialog>
Adding the <spacer/> tag to the second row of check boxes pushes checkbox4 and checkbox5 to
the right:
<vbox>
Availability
Flash MX 2004.
Usage
<vbox>
...
child tags
...
</vbox>
Attributes
None.
Child tags
<hbox>
, <vbox>, control tags
Parent tag
<grid>
Description
Layout tag; creates a container for items laid out vertically.
Example
The following example redefines the <grid>-based dialog box used in the <popupslider>
example with
<vbox> and <hbox> tags instead:
<dialog id="skew-dialog" title="Skew Selection" buttons="accept, cancel">
<vbox>
<hbox>
<label value="Skew x: " control="xSkew" align="left"/>
<popupslider id="xSkew" minvalue="-180" maxvalue="180"/>
</hbox>
<hbox>