Clip actions are valid for placing sprite characters only. Clip actions define event handlers for a sprite character. CLIPACTIONS Field
Type
Comment
Reserved
UI16
Must be 0
AllEventFlags
CLIPEVENTFLAGS
All events used in these clip actions
ClipActionRecords
CLIPACTIONRECORD [one or more]
Individual event handlers
ClipActionEndFlag
If SWF version <= 5, UI16 If SWF version >= 6, UI32
Must be 0
Field
Type
Comment
EventFlags
CLIPEVENTFLAGS
Events to which this handler applies
ActionRecordSize
UI32
Offset in bytes from end of this field to next CLIPACTIONRECORD (or ClipActionEndFlag)
KeyCode
If EventFlags contain ClipEventKeyPress: UI8 Otherwise absent
Key code to trap (see “DefineButton2” on page 226)
Actions
ACTIONRECORD [one or more]
Actions to perform
CLIPACTIONRECORD
PlaceObject3 The PlaceObject3 tag extends the functionality of the PlaceObject2 tag. PlaceObject3 adds the following new features: ■
38
The PlaceFlagHasClassName field indicates that a class name will be specified, indicating the type of object to place. Because we no longer use ImportAssets in ActionScript 3.0, there needed to be some way to place a Timeline object using a class imported from another SWF, which does not have a 16-bit character ID in the instantiating SWF. Supported in Flash Player 9.0.45.0 and later.
The Display List