Package | adobe.utils |
Class | public final class XMLUI |
Inheritance | XMLUI Object |
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | AIR 1.0, Flash Player 9 |
Macromedia Flash MX 2004 and Macromedia Flash MX Professional 2004 and later versions come 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 capabilities. 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. You can define dialog boxes by 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.
Method | Defined By | ||
---|---|---|---|
[static]
Makes the current XMLUI dialog box close with an "accept" state. | XMLUI | ||
[static]
Makes the current XMLUI dialog box close with a "cancel" state. | XMLUI | ||
[static]
Retrieves the value of the specified property of the current XMLUI dialog box. | XMLUI | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
[static]
Modifies the value of the specified property of the current XMLUI dialog. | XMLUI | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
accept | () | method |
public static function accept():void
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | AIR 1.0, Flash Player 9 |
Makes the current XMLUI dialog box close with an "accept" state. This is identical to the user clicking the OK button.
cancel | () | method |
public static function cancel():void
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | AIR 1.0, Flash Player 9 |
Makes the current XMLUI dialog box close with a "cancel" state. This is identical to the user clicking the Cancel button.
getProperty | () | method |
public static function getProperty(name:String):String
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | AIR 1.0, Flash Player 9 |
Retrieves the value of the specified property of the current XMLUI dialog box.
Parameters
name:String — The name of the XMLUI property to retrieve.
|
String — The value of the property.
|
setProperty | () | method |
public static function setProperty(name:String, value:String):void
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | AIR 1.0, Flash Player 9 |
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.
|
Mon Nov 28 2011, 06:48 AM -08:00