C# Class SWFProcessing.SWFModeller.SWFReader

Inheritance: IDisposable, IImageFinder
Show file Open project: WeeWorld/Swiffotron Class Usage Examples

Public Properties

Property Type Description
options SWFReaderOptions

Public Methods

Method Description
Dispose ( ) : void
FindImage ( int cid ) : IImage
ReadSWF ( SWFContext ctx ) : SWF

Reads a SWF from the stream.

SWFReader ( Stream swfIn, SWFReaderOptions options, StringBuilder binaryDump, IABCLoadInterceptor abcInterceptor ) : System

Initializes a new instance of a SWF parser.

Private Methods

Method Description
FinishTag ( uint followingOffset ) : void
Log ( string comment ) : void
MarkDumpOffset ( string comment, bool makeGap = false ) : void
ReadDefineMorphShape ( Tag format, uint followingOffset ) : void
ReadDefineShapeN ( Tag tagType, uint followingOffset ) : void
ReadDoABC ( uint followingOffset ) : void
ReadEditText ( ) : void
ReadEnableDebugger2 ( ) : void
ReadFileAttributesTag ( bool &as3 ) : void
ReadFont ( Tag fontType ) : void
ReadFontAlignZones ( ) : void
ReadFontName ( ) : void
ReadHeader ( SWFContext ctx ) : void
ReadImageBlob ( Tag tag, uint followingOffset ) : void
ReadPlaceObject ( uint followingOffset ) : PlaceObject
ReadPlaceObject2 ( ) : PlaceObject
ReadRemoveObject2 ( ) : RemoveObject
ReadSceneAndFrameLabelData ( ) : void
ReadScriptLimits ( ) : void
ReadSprite ( ) : void
ReadSymbolClass ( ) : void
ReadTag ( ) : bool
ReadText ( Tag format ) : void
ReadXMLMetadata ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

FindImage() public method

public FindImage ( int cid ) : IImage
cid int
return IImage

ReadSWF() public method

Reads a SWF from the stream.
public ReadSWF ( SWFContext ctx ) : SWF
ctx SWFContext
return SWF

SWFReader() public method

Initializes a new instance of a SWF parser.
public SWFReader ( Stream swfIn, SWFReaderOptions options, StringBuilder binaryDump, IABCLoadInterceptor abcInterceptor ) : System
swfIn Stream A stream with SWF data to read from.
options SWFReaderOptions
binaryDump StringBuilder Only has an effect in debug builds.
abcInterceptor IABCLoadInterceptor Only has an effect in debug builds.
return System

Property Details

options public property

public SWFReaderOptions options
return SWFReaderOptions