MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 134

Extending flash
Table of Contents

Advertisement

document.renamePublishProfile()
Availability
Flash MX 2004.
Usage
document.renamePublishProfile( [profileNewName ] )
Parameters
An optional parameter that specifies the new name for the profile. The
profileNewName
new name must be unique. If the name is not specified, a default name is provided.
Returns
A Boolean value:
true
Description
Method; renames the current profile.
Example
The following example renames the current profile to a default name and displays it:
alert(fl.getDocumentDOM().renamePublishProfile());
document.renameScene()
Availability
Flash MX 2004.
Usage
document.renameScene( name )
Parameters
A string that specifies the new name of the scene.
name
Returns
A Boolean value:
true
is not unique, for example, the method returns
134
Objects
if the name is changed successfully;
if the name is changed successfully;
otherwise.
false
otherwise. If the new name
false
.
false

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?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents