Player version: | Flash Player 7 |
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 MX 2004 and later versions 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.
public static function accept():Void
Player version: | Flash Player 7 |
Makes the current XMLUI dialog exit with an "accept" state. Identical to the user clicking the OK button.
public static function cancel():Void
Player version: | Flash Player 7 |
Makes the current XMLUI dialog exit with a "cancel" state. Identical to the user clicking the Cancel button.
public static function get(name:String):String
Player version: | Flash Player 7 |
Retrieves the value of the specified property of the current XMLUI dialog.
Parameters
| name:String — The name of the XMLUI property to retrieve. |
Returns
| String —
Returns the value of the property as a String.
|
public static function set(name:String, value:String):Void
Player version: | Flash Player 7 |
Modifies the value of the specified property of the current XMLUI dialog.
Parameters
| name:String — The name of the XMLUI property to modify. |
|
| value:String — The value to which the specified property will be set. |
© 2004-2010 Adobe Systems Incorporated. All rights reserved.
Wed Apr 7 2010, 4:41 PM GMT-07:00