beautypg.com

Fl.version, Fl.xmlui – Adobe Extending Flash Professional CS4 User Manual

Page 280

background image

258

EXTENDING FLASH CS4 PROFESSIONAL

flash object (fl)

fl.outputPanel.clear();

fl.trace("Hello World!!!");

var myPet = "cat";

fl.trace("\nI have a " + myPet);

fl.trace("");

fl.trace("I love my " + myPet);

fl.trace("Do you have a " + myPet +"?");

fl.version

Availability
Flash MX 2004.

Usage

fl.version

Description
Read-only property; the long string version of the Flash authoring tool, including platform.

Example
The following example displays the version of the Flash authoring tool in the Output panel:

alert(fl.version); // For example, WIN 10,0,0,540

fl.xmlui

Availability
Flash MX 2004.

Usage

fl.xmlui

Description
Read-only property; an

XMLUI object

. This property lets you get and set XMLUI properties in a XMLUI dialog box

and lets you accept or cancel the dialog box programmatically.

Example
See

XMLUI object

.