MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 101

Extending flash
Table of Contents

Advertisement

Example
The following example duplicates the second scene in the current document:
fl.getDocumentDOM().editScene(1); //set the middle scene to current scene
var success = fl.getDocumentDOM().duplicateScene();
document.duplicateSelection()
Availability
Flash MX 2004.
Usage
document.duplicateSelection()
Parameters
None.
Returns
Nothing.
Description
Method; duplicates the selection on the Stage.
Example
The following example duplicates the current selection, which is similar to Alt-clicking and
then dragging an item:
fl.getDocumentDOM().duplicateSelection();
document.editScene()
Availability
Flash MX 2004.
Usage
document.editScene( index )
Parameters
A zero-based integer that specifies which scene to edit.
index
Returns
Nothing.
Document object
101

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents