MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 374

Extending flash
Table of Contents

Advertisement

Example
The following example checks to see if the current document is a slide or form, and if it is,
retrieves and shows the sequence of screens in the Output panel:
if(fl.getDocumentDOM().allowScreens) {
var myCurrent =
fl.getDocumentDOM().screenOutline.rootScreen.childScreens[1].name;
var myNext =
fl.getDocumentDOM().screenOutline.rootScreen.childScreens[1].prevScreen.
name;
fl.trace(" The previous screen to "+myCurrent+" is "+myNext+". ");
}
screen.silent
Availability
Flash MX 2004.
Usage
screen.silent
Description
Property; a Boolean value that specifies whether the object is accessible. This is equivalent to
the inverse logic of the Make Object Accessible setting in the Accessibility panel. That is, if
is
, it is the same as having the Make Object Accessible option deselected in the
silent
true
Accessibility panel. If
option selected in the Accessibility panel.
Example
The following example retrieves the
object is accessible):
var isSilent = fl.getDocumentDOM().screenOutline.screens[1].silent;
The following example sets the object to be accessible:
fl.getDocumentDOM().screenOutline.screens[1].silent = false;
374
Objects
is
, it is the same as having the Make Object Accessible
silent
false
silent
value of the object (a value of
means the
false

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

This manual is also suitable for:

Flash 8

Table of Contents