Row - MACROMEDIA FLASH MX 2004-USING FLASH Use Manual

Hide thumbs Also See for FLASH MX 2004-USING FLASH:
Table of Contents

Advertisement

Parent tag
,
<dialog>
<hbox>,<vbox>
Description
Layout tag; creates a container for items laid out horizontally. All layout objects defined within
<hbox> tags are arranged horizontally with respect to one another. By default, each layout object
is evenly spaced, but this setting can be altered with the
Example
The following example is excerpted from a Behaviors definition file, Web_Goto_Webpage.xml,
and defines a dialog box with a textbox control and a drop-down menu control:
<dialog id="GotoWebPage-dialog" title="Go to URL" buttons="accept, cancel">
<vbox>
<hbox>
<label value="URL:" control="URL"/>
<textbox literal="true" required="true" width="40" id="URL"/>
</hbox>
<hbox>
<label value="Open in:" control="targetWindow"/>
<menulist literal="true" id="targetWindow">
<menupopup>
<menuitem label='"_self"'/>
<menuitem label='"_parent"'/>
<menuitem label='"_blank"'/>
<menuitem label='"_top"'/>
</menupopup>
</menulist>
</hbox>
</vbox>
</dialog>
The following graphic shows the Go to URL dialog box. Red and blue outlines of the VBox and
HBox containers have been added to show how these container tags are used to define the layout:
<row>
Availability
Flash MX 2004.
Usage
<row>
440
Appendix B: XML to UI
tag.
<space>

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents