User Guide

Document object 175
document.width
Availability
Flash MX 2004.
Usage
document.width
Description
Property; an integer that specifies the width of the document (Stage) in pixels.
Example
The following example sets the width of the Stage to 400 pixels.
fl.getDocumentDOM().width= 400;
See also
document.height
document.xmlPanel()
Availability
Flash MX 2004.
Usage
document.xmlPanel( fileURI )
Parameters
fileURI A string, expressed as a file:/// URI, that specifies the path to the XML file
defining the 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
"dismiss" that will have the string value "accept" or "cancel".