User Guide

Sprite 113
You can use a reference to a Sprite object to access the cast member from which the sprite was
created. Any changes made to the cast member from which a sprite was created are also reflected
in the sprite. The following example illustrates changing the text of a text cast member from
which sprite 5 was created. This change to the cast member will also be reflected in sprite 5.
-- Lingo syntax
labelText = sprite(5)
labelText.member.text = "Weeping Willow"
// JavaScript syntax
var labelText = sprite(5);
labelText.member.text = "Weeping Willow";
Property summary for the Sprite object
See also
Cast Library, Member, Movie, Player, sprite (Movie), sprite (Sprite Channel),
sprite(), Sprite Channel, Window
Property
backColor locV
blend (Sprite) locZ
bottom member (Sprite)
constraint name (Sprite)
cursor quad
editable rect (Sprite)
endFrame right
flipH rotation
flipV skew
foreColor spriteNum
height startFrame
ink top
left width
locH