Flash Object - MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual

Flash javascript dictionary
Hide thumbs Also See for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY:
Table of Contents

Advertisement

flash object

Availability
Flash MX 2004.
Description
The flash object represents the Flash application.
Method summary for the flash object
The following methods can be used with the flash object.
Method
fl.browseForFileURL()
fl.closeAll()
fl.closeDocument()
fl.createDocument()
fl.enableImmediateUpdates()
fl.fileExists()
fl.findDocumentIndex()
fl.getDocumentDOM()
fl.mapPlayerURL()
fl.openDocument()
fl.openProject()
fl.openScript()
fl.quit()
fl.reloadEffects()
fl.reloadTools()
fl.revertDocument()
fl.runScript()
fl.saveAll()
fl.saveDocument()
Description
Opens a File Open or File Save system dialog box and lets the user
specify a file to be opened or saved.
Closes all open documents, displaying the Save As dialog box for
any documents that were not previously saved.
Closes the specified document.
Opens a new document and selects it.
Lets the script developer enable immediate visual updates of the
Timeline when executing effects.
Checks whether a file already exists on disk.
Finds the index of an open document with the specified name.
Retrieves the DOM
(Document
document.
Maps an escaped Unicode URL to a UTF-8 or MBCS URL.
Opens a Flash (FLA) document for editing in a new Flash Document
window and gives it the focus.
Opens a Flash Project (FLP) file in the authoring tool for editing.
Opens a script (JSFL, AS, ASC) or other file (XML, TXT) in the
Flash text editor.
Quits Flash, prompting the user to save any changed documents.
Reloads all effects descriptors defined in the user's Configuration
Effects folder.
Rebuilds the toolbar from the toolconfig.xml file. Used only when
creating extensible tools.
Reverts the specified FLA document to its last saved version.
Executes a JavaScript file.
Saves all open documents, displaying the Save As dialog box for
any documents that were not previously saved.
Saves the specified document as a FLA document.
CHAPTER 3
object) of the currently active
flash object
Objects
161

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents