Example
The following example traces the name of the filter at index 0. If it is a Glow filter, its
property is set to 100 and the new value is written to the filters array.
var filterName =
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].filter
s[0].name;
fl.trace(filterName);
var filterArray =
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].filter
s;
if (filterName == 'glowFilter'){
filterArray[0].blurX = 100;
}
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].filters =
filterArray;
symbolInstance.firstFrame
Availability
Flash MX 2004.
Usage
symbolInstance.firstFrame
Description
Property; a zero-based integer that specifies the first frame to appear in the timeline of the
graphic. This property applies only to graphic symbols and sets the same property as the First
field in the Property inspector. For other types of symbols, this property is
Example
The following example specifies that Frame 11 should be the first frame to appear in the
timeline of the specified element:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].firstFram
e = 10;
424
Objects
blurX
.
undefined
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?
Questions and answers