|
 |
Working with SWF-stream
The content of the columns is classes for working with SWF-stream.
| |
TBasedSWFStream |
TSWFStreamReader |
TFlashMovie |
| 1. Loading SWF (file, memory) |
|
+ |
|
| 2. Writing SWF (file, memory) |
+ |
+ |
+ |
| 3. Parsing stream |
|
+ |
|
| 4. Reading HeaderInfo |
+ |
+ |
+ |
| 5. Writing HeaderInfo |
+ |
+ |
+ |
| 6. Making stream |
|
+ |
+ |
| 7. Making SWF from XML |
|
+ |
+ |
| 8. Maki ng XML from SWF |
|
+ |
|
| 9. ActionScript Compiler integrate |
|
|
+ |
SDK in accordance to SWF specification
The Class column displays either tag or action is in the SWF-level; the Write and Read ones display either class data reading from the stream or writing to the stream has been realized.
| Tag Name |
Class |
Write |
Read |
Using in Flash-level |
| Display List Tags |
|
|
|
|
| PlaceObject |
+ |
+ |
+ |
TFlashPlaceObject |
| PlaceObject2 |
+ |
+ |
+ |
TFlashPlaceObject |
| ClipEvents |
+ |
+ |
+ |
|
| RemoveObject |
+ |
+ |
+ |
TFlashMovie.RemoveObject |
| RemoveObject2 |
+ |
+ |
+ |
TFlashMovie.RemoveObject |
| ShowFrame |
+ |
+ |
+ |
TFlashMovie.ShowFrame |
| |
|
|
|
|
| |
|
|
|
|
| Control Tags |
|
|
|
|
| SetBackgroundColor |
+ |
+ |
+ |
TFlashMovie.BackgroundColor |
| FrameLabel |
+ |
+ |
+ |
TFlashMovie.FrameLabel |
| Protect |
+ |
+ |
+ |
TFlashMovie.Protect, TFlashMovie.Password |
| End |
+ |
+ |
+ |
automaticaly |
| ExportAssets |
+ |
+ |
+ |
|
| ImportAssets |
+ |
+ |
+ |
|
| EnableDebugger |
+ |
+ |
+ |
|
| EnableDebugger2 |
+ |
+ |
+ |
|
| ScriptLimits |
+ |
+ |
+ |
|
| SetTabIndex |
+ |
+ |
+ |
|
| |
|
|
|
|
| |
|
|
|
|
| Actions |
|
|
|
|
| DoAction |
+ |
+ |
+ |
TFlashActionScript |
| SWF 3 |
|
|
|
|
| ActionPlay |
+ |
+ |
+ |
+ |
| ActionStop |
+ |
+ |
+ |
+ |
| ActionNextFrame |
+ |
+ |
+ |
+ |
| ActionPreviousFrame |
+ |
+ |
+ |
+ |
| ActionGotoFrame |
+ |
+ |
+ |
+ |
| ActionGoToLabel |
+ |
+ |
+ |
+ |
| ActionWaitForFrame |
+ |
+ |
+ |
+ |
| ActionGetURL |
+ |
+ |
+ |
+ |
| ActionStopSounds |
+ |
+ |
+ |
+ |
| ActionToggleQuality |
+ |
+ |
+ |
+ |
| ActionSetTarget |
+ |
+ |
+ |
+ |
| |
|
|
|
|
| SWF 4 |
|
|
|
|
| Arithmetic Operators |
|
|
|
|
| ActionAdd |
+ |
+ |
+ |
+ |
| ActionDivide |
+ |
+ |
+ |
+ |
| ActionMultiply |
+ |
+ |
+ |
+ |
| ActionSubtract |
+ |
+ |
+ |
+ |
| Numerical Comparison |
|
|
|
|
| ActionEquals |
+ |
+ |
+ |
+ |
| ActionLess |
+ |
+ |
+ |
+ |
| Logical Operators |
|
|
|
|
| ActionAnd |
+ |
+ |
+ |
+ |
| ActionNot |
+ |
+ |
+ |
+ |
| ActionOr |
+ |
+ |
+ |
+ |
| String Manipulation |
|
|
|
|
| ActionStringAdd |
+ |
+ |
+ |
+ |
| ActionStringEquals |
+ |
+ |
+ |
+ |
| ActionStringExtract |
+ |
+ |
+ |
+ |
| ActionStringLength |
+ |
+ |
+ |
+ |
| ActionMBStringExtract |
+ |
+ |
+ |
+ |
| ActionMBStringLength |
+ |
+ |
+ |
+ |
| ActionStringLess |
+ |
+ |
+ |
+ |
| Stack Operations |
|
|
|
|
| ActionPop |
+ |
+ |
+ |
+ |
| ActionPush |
+ |
+ |
+ |
+ |
| Type Conversion |
|
|
|
|
| ActionAsciiToChar |
+ |
+ |
+ |
+ |
| ActionCharToAscii |
+ |
+ |
+ |
+ |
| ActionToInteger |
+ |
+ |
+ |
+ |
| ActionMBAsciiToChar |
+ |
+ |
+ |
+ |
| ActionMBCharToAscii |
+ |
+ |
+ |
+ |
| Control Flow |
|
|
|
|
| ActionCall |
+ |
+ |
+ |
+ |
| ActionIf |
+ |
+ |
+ |
+ |
| ActionJump |
+ |
+ |
+ |
+ |
| Variables |
|
|
|
|
| ActionGetVariable |
+ |
+ |
+ |
+ |
| ActionSetVariable |
+ |
+ |
+ |
+ |
| Movie Control |
|
|
|
|
| ActionGetURL2 |
+ |
+ |
+ |
+ |
| ActionGetProperty |
+ |
+ |
+ |
+ |
| ActionGotoFrame2 |
+ |
+ |
+ |
+ |
| ActionRemoveSprite |
+ |
+ |
+ |
+ |
| ActionSetProperty |
+ |
+ |
+ |
+ |
| ActionSetTarget2 |
+ |
+ |
+ |
+ |
| ActionStartDrag |
+ |
+ |
+ |
+ |
| ActionWaitForFrame2 |
+ |
+ |
+ |
+ |
| ActionCloneSprite |
+ |
+ |
+ |
+ |
| ActionEndDrag |
+ |
+ |
+ |
+ |
| Utilities |
|
|
|
|
| ActionGetTime |
+ |
+ |
+ |
+ |
| ActionRandomNumber |
+ |
+ |
+ |
+ |
| ActionTrace |
+ |
+ |
+ |
+ |
| |
|
|
|
|
| SWF 5 |
|
|
|
|
| ScriptObject Actions |
|
|
|
|
| ActionCallFunction |
+ |
+ |
+ |
+ |
| ActionCallMethod |
+ |
+ |
+ |
+ |
| ActionConstantPool |
+ |
+ |
+ |
+ |
| ActionDefineFunction |
+ |
+ |
+ |
+ |
| ActionDefineLocal |
+ |
+ |
+ |
+ |
| ActionDefineLocal2 |
+ |
+ |
+ |
+ |
| ActionDelete |
+ |
+ |
+ |
+ |
| ActionDelete2 |
+ |
+ |
+ |
+ |
| ActionEnumerate |
+ |
+ |
+ |
+ |
| ActionEquals2 |
+ |
+ |
+ |
+ |
| ActionGetMember |
+ |
+ |
+ |
+ |
| ActionInitArray |
+ |
+ |
+ |
+ |
| ActionInitObject |
+ |
+ |
+ |
+ |
| ActionNewMethod |
+ |
+ |
+ |
+ |
| ActionNewObject |
+ |
+ |
+ |
+ |
| ActionSetMember |
+ |
+ |
+ |
+ |
| ActionTargetPath |
+ |
+ |
+ |
+ |
| ActionWith |
+ |
+ |
+ |
+ |
| Type Actions |
|
|
|
|
| ActionToNumber |
+ |
+ |
+ |
+ |
| ActionToString |
+ |
+ |
+ |
+ |
| ActionTypeOf |
+ |
+ |
+ |
+ |
| Math Actions |
|
|
|
|
| ActionAdd2 |
+ |
+ |
+ |
+ |
| ActionLess2 |
+ |
+ |
+ |
+ |
| ActionModulo |
+ |
+ |
+ |
+ |
| Stack Operator Actions |
|
|
|
|
| ActionBitAnd |
+ |
+ |
+ |
+ |
| ActionBitLShift |
+ |
+ |
+ |
+ |
| ActionBitOr |
+ |
+ |
+ |
+ |
| ActionBitRShift |
+ |
+ |
+ |
+ |
| ActionBitURShift |
+ |
+ |
+ |
+ |
| ActionBitXor |
+ |
+ |
+ |
+ |
| ActionDecrement |
+ |
+ |
+ |
+ |
| ActionIncrement |
+ |
+ |
+ |
+ |
| ActionPush (Enhancements) |
+ |
+ |
+ |
+ |
| ActionPushDuplicate |
+ |
+ |
+ |
+ |
| ActionReturn |
+ |
+ |
+ |
+ |
| ActionStackSwap |
+ |
+ |
+ |
+ |
| ActionStoreRegister |
+ |
+ |
+ |
+ |
| |
|
|
|
|
| SWF 6 |
|
|
|
|
| DoInitAction |
+ |
+ |
+ |
|
| ActionInstanceOf |
+ |
+ |
+ |
+ |
| ActionEnumerate2 |
+ |
+ |
+ |
+ |
| ActionStrictEquals |
+ |
+ |
+ |
+ |
| ActionGreater |
+ |
+ |
+ |
+ |
| ActionStringGreater |
+ |
+ |
+ |
+ |
| |
|
|
|
|
| SWF 7 |
|
|
|
|
| ActionDefineFunction2 |
+ |
+ |
+ |
+ |
| ActionExtends |
+ |
+ |
+ |
+ |
| ActionCastOp |
+ |
+ |
+ |
+ |
| ActionImplementsOp |
+ |
+ |
+ |
+ |
| ActionTry |
+ |
+ |
+ |
+ |
| ActionThrow |
+ |
+ |
+ |
+ |
| |
|
|
|
|
| |
|
|
|
|
| Shapes |
|
|
|
|
| DefineShape |
+ |
+ |
+ |
|
| DefineShape2 |
+ |
+ |
+ |
TFlashShape |
| DefineShape3 |
+ |
+ |
+ |
TFlashShape |
| Shape structures |
|
|
|
|
| Solid fill |
+ |
+ |
+ |
TFlashShape.SetSolidColor |
| Gradient Fill |
+ |
+ |
+ |
TFlashShape.SetLinear(Radial)Gragient |
| Bitmap fill |
+ |
+ |
+ |
TFlashShape.SetImageFill |
| Line styles |
+ |
+ |
+ |
TFlashShape.SetLineStyle |
| |
|
|
|
|
| |
|
|
|
|
| Bitmaps |
|
|
|
|
| DefineBits |
+ |
+ |
+ |
TFlashImage |
| JPEGTables |
+ |
+ |
+ |
TFlashImage |
| DefineBitsJPEG2 |
+ |
+ |
+ |
TFlashImage |
| DefineBitsJPEG3 |
+ |
+ |
+ |
TFlashImage |
| DefineBitsLossless |
+ |
+ |
+ |
TFlashImage |
| DefineBitsLossless2 |
+ |
+ |
+ |
TFlashImage |
| Image data |
|
|
|
|
| JPEG |
|
|
|
|
| JPEG (non progressive) |
+ |
+ |
+ |
|
| JPEG (progressive) |
+ |
ac* |
|
|
| BMP |
|
|
|
|
| 8 bit |
+ |
ac* |
|
|
| 16 bit |
+ |
ac* |
|
|
| 24 bit |
+ |
ac* |
|
|
| 32 bit |
+ |
ac* |
|
|
| GIF |
+ |
mc** |
|
|
| PNG |
|
|
|
|
| 8 bit |
+ |
mc** |
|
|
| 32 bit |
+ |
mc** |
|
|
| *ac - auto-converting |
|
|
|
|
| **mc - manual converting |
|
|
|
|
| |
|
|
|
|
| Shape Morphing |
|
|
|
|
| DefineMorphShape |
+ |
+ |
+ |
TFlashMorphShape |
| |
|
|
|
|
| |
|
|
|
|
| Fonts and Text |
|
|
|
|
| DefineFont |
+ |
+ |
+ |
|
| DefineFontInfo |
+ |
+ |
+ |
|
| DefineFontInfo2 |
+ |
+ |
+ |
|
| DefineFont2 |
+ |
+ |
+ |
TFlashFont |
| DefineText |
+ |
+ |
+ |
TFlashText |
| DefineEditText |
+ |
+ |
+ |
TFlashText |
| Kinds of font |
|
|
|
|
| device |
+ |
+ |
|
|
| glyph |
+ |
+ |
|
|
| |
|
|
|
|
| |
|
|
|
|
| Sounds |
|
|
|
|
| DefineSound |
+ |
+ |
+ |
TFlashSound |
| StartSound |
+ |
+ |
+ |
TFlashSound |
| SoundStreamHead |
+ |
+ |
+ |
TFlashSound |
| SoundStreamHead2 |
+ |
+ |
+ |
TFlashSound |
| SoundStreamBlock |
+ |
+ |
+ |
TFlashSound |
| Sound Data |
|
|
|
|
| PCM |
+ |
+ |
|
|
| ADPCM |
|
|
|
|
| MP3 |
+ |
+ |
|
|
| Nellymoser |
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| Buttons |
|
|
|
|
| DefineButton |
+ |
+ |
+ |
TFlashButton |
| DefineButton2 |
+ |
+ |
+ |
TFlashButton |
| DefineButtonCxform |
+ |
+ |
+ |
|
| DefineButtonSound |
+ |
+ |
+ |
TFlashButton |
| |
|
|
|
|
| |
|
|
|
|
| Sprites |
|
|
|
|
| DefineSprite |
+ |
+ |
+ |
TFlashSprite |
| |
|
|
|
|
| |
|
|
|
|
| Video |
|
|
|
|
| DefineVideoStream |
+ |
+ |
+ |
TFlashVideo |
| FLV format |
+ |
|
+ |
TFLVData |
| Sorenson H.263 Bitstream |
|
|
|
|
| Screen Video Bitstream |
|
|
|
|
|