Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 400 Bytes

File metadata and controls

21 lines (12 loc) · 400 Bytes

timeline.layerCount

Availability

Flash MX 2004.

Usage

timeline.layerCount

Description

Read-only property; an integer that represents the number of layers in the specified timeline.

Example

The following example uses the NumLayer variable to store the number of layers in the current scene:

var NumLayer = fl.getDocumentDOM().getTimeline().layerCount;