Expand description
Re-exports§
- pub use read::decompress_swf;
- pub use read::parse_swf;
- pub use write::write_swf;
Modules§
Structs§
- BevelFilter 
- BevelFilter Flags 
- BlurFilter 
- BlurFilter Flags 
- Button
- ButtonAction 
- ButtonAction Condition 
- ButtonColor Transform 
- ButtonRecord 
- ButtonSounds 
- ButtonState 
- ClipAction 
- An clip action (a.k.a. clip event) placed on a MovieClip instance.
Created in the Flash IDE using onClipEventoronblocks.
- ClipEvent Flag 
- An event that can be attached to a MovieClip instance using an onClipEventoronblock.
- Color
- An RGBA (red, green, blue, alpha) color.
- ColorMatrix Filter 
- ColorTransform 
- ConvolutionFilter 
- ConvolutionFilter Flags 
- CsmTextSettings 
- DefineBinary Data 
- DefineBits Jpeg3 
- DefineBits Lossless 
- DefineMorph Shape 
- DefineMorph Shape Flag 
- DefineScene AndFrame Label Data 
- DefineVideo Stream 
- DoAbc2
- DoAbc2Flag 
- DropShadow Filter 
- DropShadow Filter Flags 
- EditText 
- EditText Flag 
- Encoding
- An encoding as defined in the Encoding Standard.
- ExportedAsset 
- FileAttributes 
- Flags that define various characteristic of an SWF file.
- Fixed8
- A signed fixed-point value with $frac_bits bits.
- Fixed16
- A signed fixed-point value with $frac_bits bits.
- Font
- Font4
- FontAlign Zone 
- FontFlag 
- FontInfo 
- FontInfo Flag 
- FontLayout 
- FontV1
- FrameLabel 
- FrameLabel Data 
- GlowFilter 
- GlowFilter Flags 
- Glyph
- GlyphEntry 
- Gradient
- GradientFilter 
- GradientFilter Flags 
- GradientRecord 
- Header
- The header of an SWF file.
- HeaderExt 
- The extended metadata of an SWF file.
- KerningRecord 
- LineStyle 
- LineStyle Flag 
- Matrix
- The transformation matrix used by Flash display objects.
- MorphShape 
- NameCharacter 
- An undocumented and unused tag to set the instance name of a character. This seems to have no effect in the official Flash Player. Superseded by the PlaceObject2 tag.
- PlaceFlag 
- PlaceObject 
- Point
- A 2D position defined by x and y coordinates.
- PointDelta 
- A difference between two 2D points.
- ProductInfo 
- Contains information about the software used to generate the SWF.
- Rectangle
- A rectangular region defined by minimum and maximum x- and y-coordinate positions.
- RemoveObject 
- Shape
- ShapeContext 
- ShapeFlag 
- ShapeRecord Flag 
- ShapeStyles 
- Sound
- SoundEnvelope Point 
- SoundFormat 
- SoundInfo 
- SoundStream Head 
- Sprite
- StartSound 
- StyleChange Data 
- Swf
- A complete header and tags in the SWF file.
This is returned by the swf::parse_swfconvenience method.
- SwfBuf
- Returned by read::decompress_swf. Owns the decompressed SWF data, which will be referenced when parsed byparse_swf.
- SwfStr
- A bstr-like string type analogous to strthat’s returned by SWF parsing functions:
- SymbolClass Link 
- Text
- TextLayout 
- TextRecord 
- Twips
- A type-safe wrapper type documenting where “twips” are used in the SWF format.
- VideoFrame 
Enums§
- AudioCompression 
- BitmapFormat 
- BlendMode 
- Compression
- The compression format used internally by the SWF file.
- FillStyle 
- Filter
- FontThickness 
- GradientInterpolation 
- GradientSpread 
- Language
- LineCapStyle 
- LineJoin Style 
- PlaceObject Action 
- ShapeRecord 
- SoundEvent 
- Tag
- Represents a tag in an SWF file.
- TagCode
- TextAlign 
- TextGrid Fit 
- VideoCodec 
- VideoDeblocking 
Statics§
- SHIFT_JIS 
- The Shift_JIS encoding.
- UTF_8
- The UTF-8 encoding.
- WINDOWS_1252 
- The windows-1252 encoding.
Type Aliases§
- ButtonSound 
- CharacterId 
- DebugId
- DebugIdis a UUID written to debug SWFs and used by the Flash Debugger.
- Depth
- DoAction
- ExportAssets 
- JpegTables 
- KeyCode
- A key code used in ButtonActionandClipActionkey press events.
- SetBackgroundColor 
- SoundEnvelope 
- SoundStream Block