MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 252

Extending flash
Table of Contents

Advertisement

Description
Method; sets the active window to be the specified document. This method is also supported
by Dreamweaver and Fireworks. If the document has multiple views (created by Edit In New
Window), the first view is selected.
Example
The following example shows two ways to save a specified document.
fl.setActiveWindow(fl.documents[0]);
var theIndex = fl.findDocumentIndex("myFile.fla");
fl.setActiveWindow(fl.documents[theIndex]);
fl.showIdleMessage()
Availability
Flash 8.
Usage
fl.showIdleMessage( show )
Parameters
A Boolean value specifying whether to enable or disable the warning about a script
show
running too long.
Returns
Nothing.
Description
Method; lets you disable the warning about a script running too long (pass
for
).
false
show
You might want to do this when processing batch operations that take a long time to
complete. To re-enable the alert, issue the command again, this time passing
for
.
true
show
Example
The following example illustrates how to disable and re-enable the warning about a script
running too long.
fl.showIdleMessage(false);
var result = timeConsumingFunction();
fl.showIdleMessage(true);
252
Objects

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?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents