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
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?
Questions and answers