Document.width; Document.xmlpanel() - MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual

Flash javascript dictionary
Hide thumbs Also See for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY:
Table of Contents

Advertisement

document.width

Availability
Flash MX 2004.
Usage
document.width
Description
Property; an integer that specifies the width of the document (Stage) in pixels. See
document.height
Example
The following example sets the width of the Stage to 400 pixels.
fl.getDocumentDOM().width= 400;

document.xmlPanel()

Availability
Flash MX 2004.
Usage
document.xmlPanel( fileURI )
Parameters
A string that specifies the path, expressed as a file://URL, to the XML file defining the
fileURI
controls in the panel. The full path is required.
Returns
An object that has properties defined for all controls defined in the XML file. All properties are
returned as strings. The returned object will have one predefined property named
will have the string value
Description
Method; posts a XMLUI dialog box. See
Example
The following example loads the Test.xml file and displays each property contained within it:
var obj = fl.getDocumentDOM().xmlPanel(fl.configURI + "Commands/Test.xml");
for (var prop in obj) {
fl.trace("property " + prop + " = " + obj[prop]);
}
134
Chapter 3: Objects
.
or
"accept"
"cancel"
.
.
fl.xmlui
that
"dismiss"

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents