beautypg.com

Chapter 36: screen object, Screen.accname – Adobe Extending Flash Professional CS4 User Manual

Page 389

background image

367

Chapter 36: Screen object

Availability
Flash MX 2004.

Description
The Screen object represents a single screen in a slide or form document. This object contains properties related to the
slide or form. For access to the array of all Screen objects in the document, use the following code:

fl.getDocumentDOM().screenOutline.screens

Property summary
The Screen object has the following properties:

screen.accName

Availability
Flash MX 2004.

Properties

Description

screen.accName

A string that is equivalent to the Name field in the Accessibility panel.

screen.childScreens

Read-only; the array of child screens for this screen. The array is empty if there are no child
screens.

screen.description

A string that is equivalent to the Description field in the Accessibility panel.

screen.forceSimple

A Boolean value that enables and disables accessibility for the object’s children.

screen.hidden

A Boolean value that specifies whether a screen is visible.

screen.instanceName

Read-only; a string that represents the instance name used to access the object from
ActionScript.

screen.name

Read-only; a string that represents the name of the screen.

screen.nextScreen

Read-only; an object that represents the next peer screen in the parent’s

childScreens

array.

screen.parameters

Read-only; an array of ActionScript 2.0 properties that are accessible from the screen
Property inspector.

screen.parentScreen

Read-only; an object that represents the parent screen.

screen.prevScreen

Read-only; an object that represents the previous peer screen in the parent’s

childScreens

array.

screen.silent

A Boolean value that specifies whether the object is accessible.

screen.tabIndex

Equivalent to the Tab Index field in the Accessibility panel.

screen.timeline

Read-only; the Timeline object for the screen. See

Timeline object

.