swf.movie
index
movie.py

SWF

 
Modules
       
StringIO

 
Classes
       
__builtin__.object
SWFHeader
exceptions.Exception(exceptions.BaseException)
SWFHeaderException
swf.tag.SWFTimelineContainer(swf.tag.DefinitionTag)
SWF

 
class SWF(swf.tag.SWFTimelineContainer)
    SWF class
 
The SWF (pronounced 'swiff') file format delivers vector graphics, text, 
video, and sound over the Internet and is supported by Adobe Flash
Player software. The SWF file format is designed to be an efficient 
delivery format, not a format for exchanging graphics between graphics 
editors.
 
 
Method resolution order:
SWF
swf.tag.SWFTimelineContainer
swf.tag.DefinitionTag
swf.tag.Tag
__builtin__.object

Methods defined here:
__init__(self, file=None)
__str__(self)
export(self, exporter=None)
Export this SWF using the specified exporter. 
When no exporter is passed in the default exporter used 
is swf.export.SVGExporter.
 
Exporters should extend the swf.export.BaseExporter class.
parse(self, data)
Parses the SWF.
 
The @data parameter can be a file object or a SWFStream
parse_file(self, filename)
Parses the SWF from a filename

Data descriptors defined here:
data
Return the SWFStream object (READ ONLY)
header
Return the SWFHeader

Methods inherited from swf.tag.SWFTimelineContainer:
parse_tag(self, data)
parse_tags(self, data, version=1)

Data descriptors inherited from swf.tag.DefinitionTag:
characterId
Return the character ID

Data descriptors inherited from swf.tag.Tag:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
level
name
The tag name
version

 
class SWFHeader(__builtin__.object)
    SWF header
 
  Methods defined here:
__init__(self, stream)
__str__(self)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
compressed
Whether the SWF is compressed using ZLIB
file_length
Return uncompressed file length
frame_count
Return number of frames
frame_rate
Return frame rate
frame_size
Return frame size as a SWFRectangle
version
Return SWF version

 
class SWFHeaderException(exceptions.Exception)
    Exception raised in case of an invalid SWFHeader
 
 
Method resolution order:
SWFHeaderException
exceptions.Exception
exceptions.BaseException
__builtin__.object

Methods defined here:
__init__(self, message)

Data descriptors defined here:
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from exceptions.Exception:
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from exceptions.BaseException:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__getitem__(...)
x.__getitem__(y) <==> x[y]
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]
 
Use of negative indices is not supported.
__reduce__(...)
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__setstate__(...)
__str__(...)
x.__str__() <==> str(x)
__unicode__(...)

Data descriptors inherited from exceptions.BaseException:
__dict__
args
message