MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 666

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

See also
Screen.getChildScreen()
Screen.parentIsScreen
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myScreen.parentIsScreen
Description
Property (read-only): returns a Boolean value indicating whether the specified screen's parent
object is also a screen (
its screen hierarchy.
Example
The following code determines if the parent object of the screen
myScreen.parentIsScreen
in the Output panel. If the parent screen of
myScreen
assumes that
myScreen
slides.
if (myScreen.parentIsScreen) {
trace("I have "+myScreen._parent.numChildScreens+" sibling screens");
} else {
trace("I am the root screen and have no siblings");
}
Screen.parentScreen
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myScreen.parentScreen
Description
Property (read-only); returns the screen that contains
root screen.
666
Chapter 6: Components Dictionary
) or not (
). If this property is
true
false
is
, a
true
trace()
is the root (master) slide in the presentation and therefore has no sibling
,
false
myScreen
statement displays the number of sibling slides of
is not also a screen, Flash
myScreen
. Returns
myScreen
is at the root of
myScreen
is also a screen. If
if
is the
null
myScreen

Advertisement

Table of Contents
loading
Need help?

Need help?

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

This manual is also suitable for:

Flash mx

Table of Contents