User Guide
454 Appendix B: XML to UI
Child tags
<property>
Parent tag
<dialog>, <hbox>, <row>
, <vbox>
Description
Control tag; creates a container for an embedded SWF file (this is not part of the XUL standard).
The xmlui object in the JavaScript API allows getting and setting of parameter values in the
embedded SWF file.
Example
The following example is excerpted from the blur.xml file, which defines the dialog box for the
Blur Timeline Effect.
<dialog id="blur-dialog" title="Blur">
<flash id="blur_ui" src="blur.swf" width="772" height="456">
<property id="first" />
<property id="dur" />
<property id="hor" />
<property id="vert" />
<property id="regPoint" />
<property id="blur_amount" />
<property id="baseScale" />
</flash>
</dialog>
<label>
Availability
Flash MX 2004.
Usage
<label
control="myControlID"
accesskey="char"
value="myText"
align=”left|center|right”/>
Attributes
control
String; the string identifier that matches the ID value of an associated control.
accesskey String; a character to be used for the keyboard shortcut for this control (available
only on Windows).
align String; left, center, or right determines whether the text is aligned on the left, center
or right, respectively.
value String; the text that appears in the dialog box.