User Guide

236 Objects
Parameters
bEnableUpdates A Boolean value that specifies whether to enable (true) or disable
(
false) immediate visual updates of the timeline when executing effects.
Returns
Nothing.
Description
Method; lets the script developer enable immediate visual updates of the timeline when
executing effects. Immediate updates are normally suppressed so the user does not see
intermediate steps that can be visually distracting and can make the effect appear to take
longer than necessary. This method is purely for debugging purposes and should not be used
in effects that are deployed in the field. After the effect completes, the internal state is reset to
suppress immediate updates.
Example
The following example enables immediate updates.
fl.enableImmediateUpdates(true) ;
fl.trace("Immediate updates are enabled");
fl.fileExists()
Availability
Flash MX 2004.
Usage
fl.fileExists( fileURI )
Parameters
fileURI A string, expressed as a file:/// URI, that contains the path to the file.
Returns
A Boolean value: true if the file exists on disk; false otherwise.
Description
Method; checks whether a file already exists on disk.