[][src]Crate swf

swf-rs

Library for reading and writing Adobe Flash SWF files.

Organization

This library consits of a read module for decoding SWF data, and a write library for writing SWF data.

Re-exports

pub use read::read_swf;
pub use read::read_swf_header;
pub use write::write_swf;

Modules

avm1
avm2
read
write

Structs

BevelFilter
BlurFilter
Button
ButtonAction
ButtonRecord
ButtonSounds
ClipAction
Color
ColorMatrixFilter
ColorTransform
ConvolutionFilter
CsmTextSettings
DefineBitsJpeg3
DefineBitsLossless
DefineMorphShape
DefineVideoStream
DoAbc
DropShadowFilter
EditText
ExportedAsset
FileAttributes
Font
Font4
FontAlignZone
FontInfo
FontLayout
FontV1
FrameLabel
GlowFilter
Glyph
GlyphEntry
Gradient
GradientBevelFilter
GradientGlowFilter
GradientRecord
Header

The header of an SWF file.

KerningRecord
LineStyle
Matrix
MorphShape
PlaceObject
Rectangle
Shape
ShapeStyles
Sound
SoundEnvelopePoint
SoundFormat
SoundInfo
SoundStreamInfo
Sprite
StyleChangeData
Swf

A complete header and tags in the SWF file. This is returned by the swf::read_swf convenience method.

SymbolClassLink
Text
TextLayout
TextRecord
Twips

Most coordinates in an SWF file are represented in "twips". A twip is 1/20th of a pixel.

VideoFrame

Enums

AudioCompression
BitmapFormat
BlendMode
ButtonActionCondition
ButtonState
ClipEvent
Compression

The compression foramt used internally by the SWF file.

FillStyle
Filter
FontThickness
GradientInterpolation
GradientSpread
Language
LineCapStyle
LineJoinStyle
PlaceObjectAction
ShapeRecord
SoundEvent
Tag

Represents a tag in an SWF file.

TagCode
TextAlign
TextGridFit
VideoCodec
VideoDeblocking

Type Definitions

ButtonSound
CharacterId
ClipEventFlags
Depth
SoundEnvelope