beautypg.com

Document.resetovalobject() – Adobe Extending Flash Professional CS4 User Manual

Page 152

background image

130

EXTENDING FLASH CS4 PROFESSIONAL

Document object

Parameters

sceneToMove

An integer that specifies which scene to move, with 0 (zero) being the first scene.

sceneToPutItBefore

An integer that specifies the scene before which you want to move the scene specified by

sceneToMove. Specify 0 (zero) for the first scene. For example, if you specify 1 for sceneToMove and 0 for
sceneToPutItBefore, the second scene is placed before the first scene. Specify -1 to move the scene to the end.

Returns
Nothing.

Description
Method; moves the specified scene before another specified scene.

Example
The following example moves the second scene to before the first scene:

fl.getDocumentDOM().reorderScene(1, 0);

document.resetOvalObject()

Availability
Flash CS3 Professional.

Usage

document.resetOvalObject()

Parameters
None.

Returns
Nothing.

Description
Method; sets all values in the Property inspector to default Oval object settings. If any Oval objects are selected, their
properties are reset to default values as well.

Example
The following example resets Oval object properties in the current document to default values:

fl.getDocumentDOM().resetOvalObject();

See also

document.resetRectangleObject()