Extending Flash |
|
|
|
| Objects > flash object (fl) > fl.showIdleMessage() | |||
Flash 8.
fl.showIdleMessage(show)
show A Boolean value specifying whether to enable or disable the warning about a script running too long.
Nothing.
Method; lets you disable the warning about a script running too long (pass false for 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 true for show.
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); ; var result = timeConsumingFunction;
|
|
|
|