Buttons

DefineButton

<DefineButton ID>
Parent node: SWF
Item Type Required Default value Description, remark
ID int +    
ButtonRecord subnodes      
EventActions subnode      

DefineButton2

<DefineButton2 ID [TrackAsMenu] >
Parent node: SWF
Item Type Required Default value Description, remark
ID int +    
TrackAsMenu bool   false  
ButtonRecord subnodes      
EventActions subnode      

ButtonRecord

<ButtonRecord ID Depth State [BlendMode] >
Parent node: DefineButton, DefineButton2
Item Type Required Default value Description, remark
ID int +    
Depth int +    
State string +   set of: Up, Down, Over, HitTest
BlendMode int if DefineButton2    
Matrix subnode      
ColorTransform subnode      
Filters subnode if DefineButton2    

EventActions (for button)

<EventActions>
Parent node: DefineButton2
Item Type Required Default value Description, remark
Actions subnodes +    

Actions

<Actions Event [KeyCode] [CodeType] [File FileType] >
Parent node: EventActions
Item Type Required Default value Description, remark
Event string +   IdleToOverUp, OverUpToIdle, OverUpToOverDown, OverDownToOverUp, OutDownToOverDown, OverDownToOutDown, OutDownToIdle, IdleToOverDown, OverDownToIdle
KeyCode int      
CodeType string      
File string      
FileType string     AC, bytecode
action records subnodes +    

DefineButtonCxform

<DefineButtonCxform ID>
Parent node: SWF
Item Type Required Default value Description, remark
ID int +    
Matrix subnode +    

DefineButtonSound

<DefineButtonSound ID>

Parent node: SWF
Item Type Required Default value Description, remark
ID int +    
OverUpToIdle subnode      
IdleToOverUp subnode      
OverUpToOverDown subnode      
OverDownToOverUp subnode