MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 240

Extending flash
Table of Contents

Advertisement

Description
Method; returns a
Project object
that represents the currently open project.
Example
The following example displays the name of the currently open project in the Output panel.
fl.trace("Current project: " + fl.getProject().name);
See also
,
,
Project object
fl.createProject()
fl.openProject()
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
if you want an escaped MBCS path
returnMBCS
true
returned. Otherwise, the method returns UTF-8. The default value is
. This parameter
false
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.
Example
The following example converts a URL to UTF-8 so the player can load it.
var url = MMExecute( "fl.mapPlayerURL(" + myURL + ", false);" );
mc.loadMovie( url);
240
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?

This manual is also suitable for:

Flash 8

Table of Contents