Object | +-XMLUI public class XMLUI extends Object The XMLUI object enables communication with SWF files that are used as custom user interfaces for the flash authoring tool's extensibility features (such as Behaviors, Commands, Effects, and Tools). Macromedia Flash comes with several extensibility features including Behaviors, Commands (JavaScript API), Effects, and Tools. With these features, advanced users can extend or automate the authoring tool's functionality. The XML to UI engine works with each of these extensibility features to create dialog boxes that the user sees if the extension either requires or accepts parameters. Dialog boxes can be defined using XML tags or by creating a SWF file to display. The XMLUI object provides a mechanism by which an advanced user can communicate with a SWF file used in such a manner. Availability: ActionScript 1.0; Flash Player 7 Property summary Properties inherited from class Object
Method summary
Methods inherited from class Object
accept (XMLUI.accept method)public static accept() : Void Makes the current XMLUI dialog exit with an "accept" state. Identical to the user clicking the OK button. Availability: ActionScript 1.0; Flash Player 7 cancel (XMLUI.cancel method)public static cancel() : Void Makes the current XMLUI dialog exit with a "cancel" state. Identical to the user clicking the Cancel button. Availability: ActionScript 1.0; Flash Player 7 get (XMLUI.get method)public static get(name:String) : String Retrieves the value of the specified property of the current XMLUI dialog. Availability: ActionScript 1.0; Flash Player 7 Parameters name:String - The name of the XMLUI property to retrieve. Returns String - Returns the value of the property as a String. set (XMLUI.set method)public static set(name:String, value:String) : Void Modifies the value of the specified property of the current XMLUI dialog. Availability: ActionScript 1.0; Flash Player 7 Parameters name:String - The name of the XMLUI property to modify. value:String - The value to which the specified property will be set. |