Text

DefineText, DefineText2

<DefineText ID [XMin YMin] XMax YMax>
Parent node: SWF   

Item Type Required Default value Description, remark
ID int +    
XMin int   0  
Ymin int   0  
XMax int +    
YMax int +    
Matrix subnode +    
TextRecord subnodes +    

TextRecord

<TextRecord [FontID] [Color] [X] [Y] [Height]>
Parent node: DefineText
Item Type Required Default value Description, remark
FontId int      
Color color     RGB for DefineText, RGBA for DefineText2
X int      
Y int      
Height int      
Glyph subnodes      

Glyph

<Glyph Index Advance>
Parent node: TextRecord
Item Type Required Default value Description, remark
Index int +    
Advance int +    

DefineEditText

<DefineEditText ID [XMin] [YMin] XMax YMax AutoSize [Border] [WordWrap] [Multiline] [ReadOnly] [NoSelect] [HTML] UseOutlines [FontID Height] [Color] [MaxLength] [Variable]>
Parent node: SWF
Item Type Required Default value Description, remark
ID int +    
XMin int   0  
YMin int   0  
XMax int +    
YMax int +    
AutoSize bool +    
Border bool   false  
WordWrap bool   false  
Multiline bool   false  
ReadOnly bool   false  
NoSelect bool   false  
HTML bool   false  
UseOutlines bool +    
FontID int      
Height int      
Color color      
MaxLength int      
Variable string      
Layout subnode      
Value CDATA      

Layout

<Layout Align LeftMargin RightMargin Indent Leading/>
Parent node: DefineEditText
Item Type Required Default value Description, remark
Align string +   Left, Right, Center, Justify
LeftMargin int +    
RightMargin int +    
Indent int +    
Leading int +    

CSMTextSettings

<CSMTextSettings ID UseFlashType GridFit Thickness Sharpness />

Parent node: SWF

Item Type Required Default value Description, remark
ID int +    
UseFlashType int +    
GridFit int +    
Thickness int +    
Sharpness float +