XMLUI


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

constructor (Object.constructor property) ,__proto__ (Object.__proto__ property),prototype (Object.prototype property) ,__resolve (Object.__resolve property)


Method summary

Modifiers

Signature

Description

static

accept() : Void

Makes the current XMLUI dialog exit with an "accept" state.

static

cancel() : Void

Makes the current XMLUI dialog exit with a "cancel" state.

static

get(name:String) : String

Retrieves the value of the specified property of the current XMLUI dialog.

static

set(name:String, value:String) : Void

Modifies the value of the specified property of the current XMLUI dialog.


Methods inherited from class Object

addProperty (Object.addProperty method),hasOwnProperty (Object.hasOwnProperty method),isPropertyEnumerable (Object.isPropertyEnumerable method),isPrototypeOf (Object.isPrototypeOf method),registerClass (Object.registerClass method),toString (Object.toString method),unwatch (Object.unwatch method),valueOf (Object.valueOf method),watch (Object.watch method)


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.



ActionScript 2.0 Language Reference for Macromedia Flash 8
ActionScript 2.0 Language Reference for Macromedia Flash 8
ISBN: 0321384040
EAN: 2147483647
Year: 2004
Pages: 113

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net