Description
Method; deletes the frame.
Example
The following example deletes Frame 5 up to, but not including, Frame 10 of the top layer in the
current scene (remember that index values are different from frame number values):
fl.getDocumentDOM().getTimeline().currentLayer = 0;
fl.getDocumentDOM().getTimeline().removeFrames(4, 9);
The following example deletes Frame 8 on the top layer in the current scene:
fl.getDocumentDOM().getTimeline().currentLayer = 0;
fl.getDocumentDOM().getTimeline().removeFrames(7);
timeline.reorderLayer()
Availability
Flash MX 2004.
Usage
timeline.reorderLayer(layerToMove, layerToPutItBy [, bAddBefore])
Parameters
layerToMove
layerToPutItBy
to. For example, if you specify 1 for
placed next to the first layer.
Specifies whether to move the layer before or after
bAddBefore
, the layer is moved after
false
optional.
Returns
Nothing.
Description
Method; moves the first specified layer before or after the second specified layer.
Example
The following example moves the layer at index 2 to the top (on top of the layer at index 0):
fl.getDocumentDOM().getTimeline().reorderLayer(2, 0);
The following example places the layer at index 3 after the layer at index 5:
fl.getDocumentDOM().getTimeline().reorderLayer(3, 5, false);
A zero-based index that specifies which layer to move.
A zero-based index that specifies which layer you want to move the layer next
layerToMove
layerToPutItBy
and 0 for
layerToPutItBy
layerToPutItBy
. The default value is
true
, the second layer is
. If you specify
. This parameter is
Timeline object
343
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?