Xmlui Object - MACROMEDIA FLASH 8-EXTENDING FLASH Manual

Extending flash
Table of Contents

Advertisement

XMLUI object

Availability
Flash MX 2004.
Description
Flash 8 supports custom dialog boxes written in a subset of the XML User Interface Language
(XUL). An XML User Interface (XMLUI) dialog box can be used by several Flash features,
such as commands and behaviors, to provide a user interface for features that you build using
extensibility. The XMLUI object provides the ability to get and set properties of an XMLUI
dialog box, and accept or cancel out of one. The XMLUI methods can be used in callbacks,
such as
handlers in buttons.
oncommand
You can write a dialog.xml file and invoke it from the JavaScript API using the
document.xmlPanel()
box, use
.
fl.xmlui
For more information, see Appendix B, "XML to UI" in Using Flash.
Method summary for the XMLUI object
The following methods are available for the XMLUI object:
Method
xmlui.accept()
xmlui.cancel()
xmlui.get()
xmlui.getControlItemElement()
xmlui.getEnabled()
xmlui.getVisible()
xmlui.set()
xmlui.setControlItemElement()
CHAPTER 47
method. To retrieve an object representing the current XMLUI dialog
Description
Closes the current XMLUI dialog box with an accept
state.
Closes the current XMLUI dialog box exit with a cancel
state.
Retrieves the value of the specified property of the
current XMLUI dialog box.
Returns the current control item for the specified
control.
Returns a Boolean value that specifies whether the
control is enabled or disabled (dimmed).
Returns a Boolean value that specifies whether the
control is visible or hidden.
Modifies the value of the specified property of the
current XMLUI dialog box.
Sets the label and value for the current item.
Objects
XMLUI object
521

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents