MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 417

Extending flash
Table of Contents

Advertisement

symbolInstance.actionScript
Availability
Flash MX 2004.
Usage
symbolInstance.actionScript
Description
Property; a string that specifies the actions assigned to the symbol. This applies only to movie
clip and button instances. For a graphic symbol instance, the value returns undefined.
Example
The following example assigns an
the first layer in the timeline:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].actionScr
ipt
= "onClipEvent(enterFrame) {trace('movie clip enterFrame');}";
symbolInstance.blendMode
Availability
Flash 8.
Usage
symbolInstance.blendMode
Description
Property; a string that specifies the blend mode to be applied to a movie clip symbol.
Acceptable values are
,
"hardlight"
"lighten"
, and
"alpha"
"erase".
Example
The following example sets the blend mode for the first movie clip symbol in the first frame
on the first level to
"add"
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].blendMode
= 'add';
See also
document.setBlendMode()
onClipEvent
,
,
"normal"
"layer"
,
,
"darken"
"difference"
:
action to the first item in the first frame of
, "
"multiply"
screen"
,
,
"add"
"subtract"
,
,
"overlay"
,
,
"invert"
SymbolInstance object
417

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents