Flash-layer tags

All nodes of the SWF-layer tags are full supported by Flash-level. Also some swf tags can contain addition items. All Flash-level tags containing ID can have string IDStr.

Flash

<Flash [XMin YMin] XMax YMax FPS Version SystemCoord [Compressed] [BgColor]>
Root node for flash-layer
Item Type Required Default value Description, remark
XMin int   0  
YMin int   0  
XMax int +    
YMax int +    
FPS float +    
Version int +    
SystemCoord string +   Twips|Pix
Compressed bool   true  
BgColor color      

Frame

<Frame [Repeat|Time] [Label] />
Parent node: Flash
Item Type Required Default value Description, remark
Repeat int   1 frame count
Time int     duration in second*100
Label string      

Place, PlaceVideo

<Place [ID|IDStr] [Name] Depth [Ratio] [ClipDepth] [RemoveDepth]>
Parent node: Flash
Item Type Required Default value Description, remark
ID int      
IDStr string      
Name string      
Depth int +    
Ratio int      
ClipDepth int      
RemoveDepth bool      
Matrix subnode      
ColorTransform subnode      
EventActions subnode      
Filters subnode      

EventActions

<EventActions [CodeType] [File [FileType]]>
Parent node: Place
Item Type Required Default value Description, remark
CodeType string     AC, AS
File string      
FileType string     AC, AS, bytecode
Actions subnodes      

Remove

<Remove Depth|ID|IDStr>
Parent node: Flash
Item Type Required Default value Description, remark
Depth int      
ID int      
IDStr string      

Shape

<Shape ID|IDStr [XMin] [YMin] [XMax YMax] [Color] [Depth]>
Parent node: Flash
Item Type Required Default value Description, remark
ID int      
IDStr string      
XMin int      
YMin int      
XMax int      
YMax int      
Color color      
Depth int      
Edges subnode      
FillStyles subnode      
LineStyles subnode      
RadialGradient subnode      
LinearGradient subnode      
SolidColor subnode      
ImageFill subnode      
LineStyle subnode      

RadialGradient, StartShape/EndShape (RadialGradient)

<RadialGradient [CenterX CenterY]>
Parent node: Shape, MorphShape
Item Type Required Default value Description, remark
CenterX int   50  
CenterY int   50  
Gradient subnodes      

LinearGradient, StartShape/EndShape (LinearGradient)

<LinearGradient [Angle]>
Parent node: Shape, MorphShape
Item Type Required Default value Description, remark
Angle int   0  
Gradient subnodes      

ImageFill, StartShape/EndShape (ImageFill)

<ImageFill [Type] [ScaleX ScaleY] File|(ID|IDStr)>
Parent node: Shape, MorphShape
 

Item Type Required Default value Description, remark
Type string   Fit Clip, Fit, Tile
ScaleX float   1  
ScaleY float   1  
File string      
ID int      
IDStr string      

LineStyle

<LineStyle Width Color [Ext] [BGColor] />
Parent node: Shape
Item Type Required Default value Description, remark
Width int +    
Color color +    
Ext string     Comma delemited segments, for sample '5,2,10,2'
BGColor color      

Edges

<Edges>
Parent node: Shape
Item Type Required Default value Description, remark
draw edge records subnodes      

Sprite

<Sprite ID|IDStr [Depth]>
Parent node: Flash
Item Type Required Default value Description, remark
ID int +    
IDStr string +    
Depth int      
InitActions subnode      
Actions subnodes      
Frame subnodes +    
Place subnodes      
Remove subnodes      
StartSound        
BackgroundSound        
PlaceVideo        

Actions, InitActions

<Actions CodeType|(File FileType)>
Parent node: Flash, Sprite
Item Type Required Default value Description, remark
CodeType string     AC, AS
File string      
FileType string     AC, AS, bytecode
node value CDATA CodeType = AS   allowably if ActionScript compiler included
action records subnodes CodeType = AC    

Image

<Image ID|IDStr File [AlphaColor|AlphaIndex] [AlphaFile] [Depth] [XMin YMin] />
Parent node: Flash
Item Type Required Default value Description, remark
ID int      
IDStr string      
File string      
AlphaIndex int      
AlphaColor color      
AlphaFile string      
Depth int      
XMin int      
YMin int      

Font

<Font ID|IDStr [Device] [Name] [Size] [Bold] [Italic] [LanguageCode] [EncodingType] [File]/>
<Font ID|IDStr SWFFormat="true" ... > some format as <DefineFont2 ...>
Parent node: Flash
Item Type Required Default value Description, remark
ID int +    
IDStr string +    
SWFFormat bool   false  
Device bool   true  
Name string   Arial  
Size int   12  
Bold bool   false  
Italic bool   false  
LanguageCode int   2 (SWFLangLatin)  
EncodingType string   Unicode ANSI, ShiftJIS, Unicode
File string     name of swf file

Text

<Text ID|IDStr [XMin] [YMin] [XMax YMax] AutoSize [Border] [WordWrap] [Multiline] [ReadOnly] [NoSelect] [HTML] UseOutlines [FontID Height] [Color] [MaxLength] [CharSpacing] [Indent] [Leading] [LeftMargin] [RightMargin] [FontId|FontIDStr] [Variable] [Depth] >
Parent node: SWF
Item Type Required Default value Description, remark
ID int +    
IDStr string +    
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      
CharSpacing int   0  
Indent int   0  
Leading int   0  
LeftMargin int   0  
RightMargin int   0  
FontId int      
FontIDStr string      
Variable string      
Depth int      
Matrix subnode      
Font subnode      
Value CDATA      

Sound

<Sound ID|IDStr File [Start SyncStop SyncNoMultiple [LoopCount] [InPoint] [OutPoint]] />
Parent node: Flash
Item Type Required Default value Description, remark
ID int +    
IDStr string +    
File string +    
Start bool   false  
StartSound items   Start=true    

StartSound

<StartSound [AsBackground File] ID|IDStr SyncStop SyncNoMultiple [LoopCount] [InPoint] [OutPoint] />
Parent node: Flash
Item Type Required Default value Description, remark
ID int +    
IDStr string +    
AsBackground bool   false  
File string AsBackground=true    
StartSound items   +    

BackgroundSound

<BackgroundSound File/>
Parent node: Flash
Item Type Required Default value Description, remark
File string +    

Button

<Button ID|IDStr [TrackAsMenu] [Advance] [SndPress|SndPressStr] [SndRelease|SndReleaseStr] [SndRollOut|SndRollOutStr] [SndRollOver|SndRollOverStr] [Depth] >
Parent node: Flash
Item Type Required Default value Description, remark
ID int +    
IDStr string +    
TrackAsMenu bool   false  
Advance bool   true  
SndPress int      
SndPressStr string      
SndRelease int      
SndReleaseStr string      
SndRollOut int      
SndRollOutStr string      
SndRollOver int      
SndRollOverStr string      
Depth int      
ButtonRecord subnodes      
EventActions subnode      
Actions subnode      

Video

<Video ID|IDStr File [Depth X Y]/>
Parent node: Flash
Item Type Required Default value Description, remark
ID int +    
IDStr string +    
File string +    
Depth int      
X int      
Y int      

MorphShape

<Shape ID|IDStr [XMin] [YMin] [XMax YMax] [Color] [Depth]>
Parent node: Flash
Item Type Required Default value Description, remark
ID int      
IDStr string      
Depth int      
StartShape subnode      
EndShape subnode      
FillStyles subnode      
LineStyles subnode      
RadialGradient subnode      
LinearGradient subnode      
SolidColor subnode      
ImageFill subnode      
LineStyle subnode      

StartShape, EndShape

<StartShape [[XMin] [YMin] XMax YMax]>
Parent node: MorphShape
Item Type Required Default value Description, remark
Xmin int      
YMin int      
XMax int +    
YMax int +    
draw edge records subnodes +    

SolidColor

<SolidColor StartColor EndColor/ >
Parent node: MorphShape
Item Type Required Default value Description, remark
StartColor color +    
EndColor color +    

RadialGradient

<RadialGradient>
Parent node: MorphShape
Item Type Required Default value Description, remark
StartShape subnode +    
EndShape subnode +    

LinearGradient

<LinearGradient>
Parent node: MorphShape
Item Type Required Default value Description, remark
StartShape subnode +    
EndShape subnode +    

ImageFill

<ImageFill>
Parent node: MorphShape
Item Type Required Default value Description, remark
StartShape subnode +    
EndShape subnode +    

LineStyle

<LineStyle StartWidth EndWith StartColor EndColor/>
Parent node: MorphShape
Item Type Required Default value Description, remark
StartWidth int +    
EndWidth int +    
StartColor color +    
EndColor color +    

Metafile

<Metafile File Depth [XMin YMin] XMax YMax/>
Parent node: Flash
Item Type Required Default value Description, remark
File string +    
Depth int +    
XMin int   0  
YMin int   0  
XMax int +    
YMax int +    

ExternalSWF

<ExternalSWF File Type [ID|IDStr] [Renum] [Start]/>
 Parent node: Flash

Item Type Required Default value Description, remark
File string +    
Type string +   Root, Resource, NoFrameRoot, Sprite
ID int Type=Sprite    
IDStr string Type=Sprite    
Renum bool   true  
Start int Renum=true