User Guide

438 Appendix B: XML to UI
<dialog>
Availability
Flash MX 2004.
Usage
<dialog
id = "myID"
title="yourTitle"
buttons="accept[, cancel]">
...
child tags
...
</dialog>
Attributes
id
String; represents a unique identification string that is used by the extensibility features to
identify the dialog box and access the values it returns.
title String; text that appears in the title bar of the dialog box.
buttons Accepts either or both of the strings "accept" and "cancel", which represent the OK
and Cancel buttons, respectively.
Child tags
<hbox>
,<grid>,<vbox>
Description
Layout tag; creates the container tag for the entire dialog box. All other tags used must be
contained in this tag.
Example
For an example that uses the <dialog> tag with the <hbox> and <vbox> tags, see the examples in
<hbox> and <vbox>. For an example that uses the <dialog> tag with the <grid> tag, see the
example in
<grid>.
<grid>
Availability
Flash MX 2004.
Usage
<grid>
...
child tags
...
</grid>
Attributes
None.