Expand description
Re-exports§
pub use read::decompress_swf;
pub use read::parse_swf;
pub use write::write_swf;
Modules§
Structs§
- Bevel
Filter - Bevel
Filter Flags - Blur
Filter - Blur
Filter Flags - Button
- Button
Action - Button
Action Condition - Button
Color Transform - Button
Record - Button
Sounds - Button
State - Clip
Action - An clip action (a.k.a. clip event) placed on a MovieClip instance.
Created in the Flash IDE using
onClipEvent
oron
blocks. - Clip
Event Flag - An event that can be attached to a MovieClip instance using an
onClipEvent
oron
block. - Color
- An RGBA (red, green, blue, alpha) color.
- Color
Matrix Filter - Color
Transform - Convolution
Filter - Convolution
Filter Flags - CsmText
Settings - Define
Binary Data - Define
Bits Jpeg3 - Define
Bits Lossless - Define
Morph Shape - Define
Morph Shape Flag - Define
Scene AndFrame Label Data - Define
Video Stream - DoAbc2
- DoAbc2
Flag - Drop
Shadow Filter - Drop
Shadow Filter Flags - Edit
Text - Edit
Text Flag - Encoding
- An encoding as defined in the Encoding Standard.
- Exported
Asset - File
Attributes - 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
- Font
Align Zone - Font
Flag - Font
Info - Font
Info Flag - Font
Layout - FontV1
- Frame
Label - Frame
Label Data - Glow
Filter - Glow
Filter Flags - Glyph
- Glyph
Entry - Gradient
- Gradient
Filter - Gradient
Filter Flags - Gradient
Record - Header
- The header of an SWF file.
- Header
Ext - The extended metadata of an SWF file.
- Kerning
Record - Line
Style - Line
Style Flag - Matrix
- The transformation matrix used by Flash display objects.
- Morph
Shape - Name
Character - 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.
- Place
Flag - Place
Object - Point
- A 2D position defined by x and y coordinates.
- Point
Delta - A difference between two 2D points.
- Product
Info - Contains information about the software used to generate the SWF.
- Rectangle
- A rectangular region defined by minimum and maximum x- and y-coordinate positions.
- Remove
Object - Shape
- Shape
Context - Shape
Flag - Shape
Record Flag - Shape
Styles - Sound
- Sound
Envelope Point - Sound
Format - Sound
Info - Sound
Stream Head - Sprite
- Start
Sound - Style
Change Data - Swf
- A complete header and tags in the SWF file.
This is returned by the
swf::parse_swf
convenience 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
str
that’s returned by SWF parsing functions: - Symbol
Class Link - Text
- Text
Layout - Text
Record - Twips
- A type-safe wrapper type documenting where “twips” are used in the SWF format.
- Video
Frame
Enums§
- Audio
Compression - Bitmap
Format - Blend
Mode - Compression
- The compression format used internally by the SWF file.
- Fill
Style - Filter
- Font
Thickness - Gradient
Interpolation - Gradient
Spread - Language
- Line
CapStyle - Line
Join Style - Place
Object Action - Shape
Record - Sound
Event - Tag
- Represents a tag in an SWF file.
- TagCode
- Text
Align - Text
Grid Fit - Video
Codec - Video
Deblocking
Statics§
- SHIFT_
JIS - The Shift_JIS encoding.
- UTF_8
- The UTF-8 encoding.
- WINDOWS_
1252 - The windows-1252 encoding.
Type Aliases§
- Button
Sound - Character
Id - DebugId
DebugId
is a UUID written to debug SWFs and used by the Flash Debugger.- Depth
- DoAction
- Export
Assets - Jpeg
Tables - KeyCode
- A key code used in
ButtonAction
andClipAction
key press events. - SetBackground
Color - Sound
Envelope - Sound
Stream Block