| Introduction | Basic Types | Display List | Control Tags |
| Shapes | (Examples Shapes) | Gradients | Buttons |
| Sprites | Fonts and Text | Shape Morphing | Bitmap |
| Sounds | Actions | ActionScripts | Reference |
Play start playing at the current frame.An action (or list of actions) can be triggered by a button state transition, or by a DoAction tag. The action is not executed immediately, but is added to a list of actions to be processed. The list is executed on a ShowFrame tag, or after the button state has changed. An action can cause other actions to be triggered, in which case, the action is added to the list of actions to be processed. Actions are processed until the action list is empty.
Stop stop playing at the current frame.
NextFrame go to the next frame
PreviousFrame go to the previous frame
GotoFrame go to the specified frame
GotoLabel go to the frame with the specified label
WaitForFrame wait for the specified frame
GetURL get the specified URL.
StopSounds stop all sounds playing
ToggleQuality toggle the display between high and low quality.
SetTarget change the context of subsequent actions to a named object.
DoAction Field Type Comment Header RECORDHEADER Tag ID = 12 Actions ACTIONRECORD[zero or more] List of actions to perform - see below ActionEndFlag UI8 = 0 Always set to 0
|
|
ActionRecord Field Type Comment ActionCode code = UI8 An action code as specified below Length If code >= 0x80 UI16 The number of bytes (after this) in the ACTIONRECORD
|
ActionGotoFrame Field Type Comment ActionCode UI8 Action = 0x81 Length UI16 Always 2 Frame UI16 Frame index
|
|
ActionGetURL Field Type Comment ActionCode UI8 Action = 0x83 Length UI16 Combined length of strings UrlString STRING Target URL string TargetString STRING Target string
|
|
ActionNextFrame Field Type Comment ActionCode UI8 Action = 0x04
|
|
ActionPreviousFrame Field Type Comment ActionCode UI8 Action = 0x05
|
|
ActionPlay Field Type Comment ActionCode UI8 Action = 0x06
|
|
ActionStop Field Type Comment ActionCode UI8 Action = 0x07
|
|
ActionToggleQuality Field Type Comment ActionCode UI8 Action = 0x08
|
|
ActionStopSounds Field Type Comment ActionCode UI8 Action = 0x09
|
|
ActionWaitForFrame Field Type Comment ActionCode UI8 Action = 0x8A Length UI16 Always 3 Frame UI16 Frame to wait for SkipCount UI8 Number of actions to skip if frame is not loaded
|
|
ActionSetTarget Field Type Comment ActionCode UI8 Action = 0x8B Length UI16 Length of record TargetName STRING Target of action target
|
|
ActionGotoLabel Field Type Comment ActionCode UI8 Action = 0x8C Length UI16 Length of record Label STRING Frame label
|
|
| Introduction | Basic Types | Display List | Control Tags |
| Shapes | (Examples Shapes) | Gradients | Buttons |
| Sprites | Fonts and Text | Shape Morphing | Bitmap |
| Sounds | Actions | ActionScripts | Reference |