| |
- __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
|
|