++i;
}
document.deletePublishProfile()
Availability
Flash MX 2004.
Usage
document.deletePublishProfile()
Parameters
None.
Returns
An integer that is the index of the new current profile. If a new profile is not available, the method
leaves the current profile unchanged and returns its index.
Description
Method; deletes the currently active profile, if there is more than one. There must be at least one
profile left. See
document.addNewPublishProfile()
Example
The following example deletes the currently active profile, if there is more than one, and displays
the index of the new currently active profile:
alert(fl.getDocumentDOM().deletePublishProfile());
document.deleteScene()
Availability
Flash MX 2004.
Usage
document.deleteScene()
Parameters
None.
Returns
A Boolean value:
Description
Method; deletes the current scene
sets the next scene as the current Timeline object. If the deleted scene was the last one, it sets the
first object as the current Timeline object. If only one
the value
false.
if the scene is successfully deleted;
true
(Timeline
.
otherwise.
false
object) and, if the deleted scene was not the last one,
object (scene) exists, it returns
Timeline
Document object
81
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?