fl.getDocumentDOM()
Availability
Flash MX 2004.
Usage
fl.getDocumentDOM()
Parameters
None.
Returns
A Document object, or
Description
Method; retrieves the DOM
one or more documents are open but a document is not currently focused (for example, a JSFL
file is focused) , retrieves the DOM of the most recently active document.
Example
The following example displays the name of the current or most recently active document in the
Output panel:
var currentDoc = fl.getDocumentDOM();
fl.trace(currentDoc.name);
fl.mapPlayerURL()
Availability
Flash MX 2004.
Usage
fl.mapPlayerURL( URI [, returnMBCS] )
Parameters
A string that contains the escaped Unicode URL to map.
URI
A Boolean value that you must set to
returnMBCS
returned. Otherwise, the method returns UTF-8. The default value is
optional.
Returns
A string that is the converted URL.
Description
Method; maps an escaped Unicode URL to a UTF-8 or MBCS URL. Use this method when the
string will be used in ActionScript to access an external resource. You must use this method if you
need to handle multibyte characters.
if no documents are open.
null
(Document
object) of the currently active document (FLA file). If
if you want an escaped MBCS path
true
false
. This parameter is
flash object
171
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?