Timeline.showlayermasking() - 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

Description
Method; sets the layer to be selected, and also makes the specified layer the current layer. Selecting
a layer also means that all the frames in the layer are selected.
Example
The following example selects the top layer:
fl.getDocumentDOM().getTimeline().setSelectedLayers(0);
The following example adds the next layer to the selection:
fl.getDocumentDOM().getTimeline().setSelectedLayers(1, false);

timeline.showLayerMasking()

Availability
Flash MX 2004.
Usage
timeline.showLayerMasking([layer])
Parameters
A zero-based index of a mask or masked layer to show masking during authoring. This
layer
parameter is optional.
Returns
Nothing.
Description
Method; shows the layer masking during authoring by locking the mask and masked layers. This
method uses the current layer if no layer is specified. If you use this method on a layer that is not
of type Mask or Masked, Flash will display an error in the Output panel.
Example
The following example specifies that the layer masking of the first layer should show during
authoring.
fl.getDocumentDOM().getTimeline().showLayerMasking(0);
348
Chapter 3: Objects

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