Jan 22

SWF tag support chart

ActionScript3.0
Tag ID Read Write Tag Name
0 x x End
1 x x ShowFrame
2 x DefineShape
4 x PlaceObject
5 x x RemoveObject
6 x x DefineBits
7 x DefineButton
8 x x JPEGTables
9 x x SetBackgroundColor
10 x DefineFont
11 x DefineText
12 x x DoAction
13 x DefineFontInfo
14 x x DefineSound
15 x StartSound
17 x DefineButtonSound
18 x SoundStreamHead
19 x x SoundStreamBlock
20 x x DefineBitsLossless
21 x x DefineBitsJPEG2
22 x DefineShape2
23 x DefineButtonCxform
24 x x Protect
26 x x PlaceObject2
28 x x RemoveObject2
32 x DefineShape3
33 x DefineText2
34 x DefineButton2
35 x x DefineBitsJPEG3
36 x x DefineBitsLossless2
37 x DefineEditText
39 x x DefineSprite
41 x ProductInfo
43 x x FrameLabel
45 x SoundStreamHead2
46 x DefineMorphShape
48 x DefineFont2
56 x x ExportAssets
57 x x ImportAssets
58 x x EnableDebugger
59 x x DoInitAction
60 x DefineVideoStream
61 x x VideoFrame
62 x DefineFontInfo2
63 x DebugID
64 x x EnableDebugger2
65 x x ScriptLimits
66 x x SetTabIndex
69 x x FileAttributes
70 x PlaceObject3
71 x x ImportAssets2
73 x DefineFontAlignZones
74 x x CSMTextSettings
75 x DefineFont3
76 x x SymbolClass
77 x x Metadata
78 x DefineScalingGrid
82 x x DoABC
83 x DefineShape4
84 x DefineMorphShape2
86 x x DefineSceneAndFrameLabelData
87 x x DefineBinaryData
88 x DefineFontName
89 x StartSound2
90 x x DefineBitsJPEG4
91 x DefineFont4
Jan 7

as3类包打包成SWC相关

ActionScript3.0
flex中打包的方法:
1. 新建一个 flex library project
2. 弹出的对话框 点 next ,在Classes下,找到Main source folder 点浏览
3. 选择你新建的文件夹 点 new 然后点击 OK
4. 这个时候 Classes 下多了个src 文件夹,打开源文件夹,把你的类包复制进去
5. 回到flex library project ,右键 - 属性 - 点击Flex library build path,在Classes下面看到src文件夹,勾选,点确定
6. bin 目录下面就有了SWC文件啦