106
Chapter 3: Objects
document.removeDataFromSelection()
Availability
Flash MX 2004.
Usage
document.removeDataFromSelection(
name
)
Parameters
name
A string that specifies the name of the persistent data to remove.
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
"myData":
fl.getDocumentDOM().removeDataFromSelection("myData");
document.renamePublishProfile()
Availability
Flash MX 2004.
Usage
document.renamePublishProfile( [
profileNewName
] )
Parameters
profileNewName
An optional parameter that specifies the new name for the profile. The new
name must be unique. If the name is not specified, a default name is provided.
Returns
A Boolean value:
true
if the name is changed successfully;
false
otherwise.
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());
Содержание FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Страница 1: ...Flash JavaScript Dictionary ...
Страница 16: ...16 Contents ...
Страница 40: ...40 Chapter 2 Top level functions ...
Страница 368: ...368 Chapter 3 Objects ...
Страница 386: ...386 Chapter 4 C Level Extensibility ...