Document.removedatafromselection(); Document.renamepublishprofile() - 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

document.removeDataFromSelection()

Availability
Flash MX 2004.
Usage
document.removeDataFromSelection( name )
Parameters
A string that specifies the name of the persistent data to remove.
name
Returns
Nothing.
Description
Method; removes persistent data with the specified name that has been attached to the selection.
See
document.addDataToSelection()
Example
The following example removes from the selection the persistent data named
fl.getDocumentDOM().removeDataFromSelection("myData");

document.renamePublishProfile()

Availability
Flash MX 2004.
Usage
document.renamePublishProfile( [profileNewName ] )
Parameters
profileNewName
name must be unique. If the name is not specified, a default name is provided.
Returns
A Boolean value:
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());
106
Chapter 3: Objects
An optional parameter that specifies the new name for the profile. The new
if the name is changed successfully;
true
.
false
"myData":
otherwise.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents