-
Notifications
You must be signed in to change notification settings - Fork 0
Character
parisminton edited this page Nov 11, 2012
·
2 revisions
A Character is a collection of drawing instructions for one identifiable unit on the Timeline. If the canvas
element is a stage play, a Character would be considered an actor.
-
Characters are hidden as soon as they're instantiated.
-
A Character's first sequence is "main". The starting frame for this sequence is 0.
-
For each sequence, the
xinc
value -- the Character's horizontal distance from the origin -- is 0. -
Each Character has a
boundary
property that stores the coordinates of its perimeter for mouseover detection.
- Actions can be attached to any of a Character's frames, in an array stored in the
triggers
property.