beautypg.com

Document.height, Document.id – Adobe Extending Flash Professional CS5 User Manual

Page 135

background image

113

EXTENDING FLASH PROFESSIONAL

Document object

Last updated 5/2/2011

Usage

document.group()

Parameters
None.

Returns
Nothing.

Description
Method; converts the current selection to a group.

Example
The following example converts the objects in the current selection to a group:

fl.getDocumentDOM().group();

See also

document.unGroup()

document.height

Availability
Flash MX 2004.

Usage

document.height

Description
Property; an integer that specifies the height of the document (Stage) in pixels.

Example
The following example sets the height of the Stage to 400 pixels:

fl.getDocumentDOM().height = 400;

See also

document.width

document.id

Availability
Flash CS3 Professional.

This manual is related to the following products: