User Guide
313
For a movie that plays back as an applet, valid values for the ink sprite property vary for different
sprites, as follows:
• For bitmap sprites, the ink sprite property can be 0 (Copy), 8 (Matte), 32 (Blend), or 36
(Background transparent).
• For vector shape, Flash, and shape sprites, the ink sprite property can be 0, 8, or 36.
• For field sprites, the ink sprite property can be 0 or 36. The player treats Blend and Matte inks
as Background transparent.
In the case of 36 (background transparent), you select a sprite in the score and select a
transparency color from the background color box in the Tools window. You can also do this by
setting the
backColor property.
If you set this property within a script while the playhead is not moving, be sure to use the
updateStage command to redraw the Stage. If you change several sprite properties—or several
sprites—use only one updateStage command at the end of all the changes.
This property can be tested and set.
Examples
This statement changes the variable currentInk to the value for the ink effect of sprite (3):
currentInk = sprite(3).ink
This statement gives sprite (i + 1) a matte ink effect by setting the ink effect of the sprite property
to 8, which specifies matte ink:
sprite(i + 1).ink = 8
See also
backColor, foreColor
inker (modifier)
Syntax
member(whichCastmember).modelResource(whichModelResource).\
inker.inkerModifierProperty
modelResourceObjectReference.inker.inkerModifierProperty
Description
3D modifier; once you have added the #inker modifier to a model resource (using
addModifier) you can get and set #inker modifier properties.
The
#inker modifier adds silhouettes, creases, and boundary edges to an existing model; the
#inker properties allow you to control the definition and emphasis of these properties.
When the
#inker modifier is used in conjunction with the #toon modifier, the rendered effect is
cumulative and varies depending on which modifier was first applied. The list of modifiers
returned by the
modifier property will list #inker or #toon (whichever was added first), but not
both. The
#inker modifier can not be used in conjunction with the #sds modifier.