MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 418

Extending flash
Table of Contents

Advertisement

symbolInstance.buttonTracking
Availability
Flash MX 2004.
Usage
symbolInstance.buttonTracking
Description
Property; a string that, for button symbols only, sets the same property as the pop-up menu
for Track as Button or Track as Menu Item in the Property inspector. For other types of
symbols, this property is ignored. Acceptable values are
Example
The following example sets the first symbol in the first frame of the first layer in the timeline
to Track as Menu Item, as long as that symbol is a button:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].buttonTra
cking = "menu";
symbolInstance.cacheAsBitmap
Availability
Flash 8.
Usage
symbolInstance.cacheAsBitmap
Description
Property; a Boolean value that specifies whether runtime bitmap caching is enabled.
Example
The following example enables runtime bitmap caching for the first element in the first frame
on the first layer:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].cacheAsBi
tmap = true;
418
Objects
or
"button"
"menu"
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents