pt.tumba.parser.swf
Class SWFSaxParser

java.lang.Object
  extended by pt.tumba.parser.swf.SaxParserBase
      extended by pt.tumba.parser.swf.SWFSaxParser
All Implemented Interfaces:
org.xml.sax.XMLReader, SWFActions, SWFHeader, SWFShape, SWFSpriteTagTypes, SWFTags, SWFTagTypes, SWFText, SWFVectors

public class SWFSaxParser
extends SaxParserBase
implements SWFTagTypes, SWFShape, SWFActions, SWFText

A SAX2 parser (XMLReader) that implements the SWFTagTypes interface and produces an XML representation of the Flash movie.

Author:
unknown

Field Summary
protected  int actionsType
          Description of the Field
protected  boolean definingSprite
          Description of the Field
protected  java.lang.String frameLabel
          Description of the Field
protected  int[] glyphAdvances
          Description of the Field
protected  int[] glyphCodes
          Description of the Field
protected  int glyphCount
          Description of the Field
protected  Rect[] glyphRects
          Description of the Field
protected  boolean morph
          Description of the Field
protected  Rect morphEndRect
          Description of the Field
static java.lang.String NAMESPACE
          The namespace for the SWF XML vocabulary
 
Fields inherited from class pt.tumba.parser.swf.SaxParserBase
contenthandler, dtdhandler, elementStack, errorhandler, namespace, resolver
 
Fields inherited from interface pt.tumba.parser.swf.SWFActions
GET_URL_MODE_LOAD_MOVIE_INTO_LEVEL, GET_URL_MODE_LOAD_MOVIE_INTO_SPRITE, GET_URL_MODE_LOAD_VARS_INTO_LEVEL, GET_URL_MODE_LOAD_VARS_INTO_SPRITE, GET_URL_SEND_VARS_GET, GET_URL_SEND_VARS_NONE, GET_URL_SEND_VARS_POST
 
Constructor Summary
SWFSaxParser()
          Constructor for the SWFSaxParser object
SWFSaxParser(org.xml.sax.ContentHandler contenthandler, org.xml.sax.ErrorHandler errorhandler)
          Constructor for the SWFSaxParser object
 
Method Summary
 void add()
          SWFActions interface
 void and()
          SWFActions interface
 void asciiToChar()
          SWFActions interface
 void asciiToCharMB()
          SWFActions interface
 void bitAnd()
          SWFActions interface
 void bitOr()
          SWFActions interface
 void bitXor()
          SWFActions interface
 void blob(byte[] blob)
          SWFActions interface
 void call()
          SWFActions interface
 void callFunction()
          SWFActions interface
 void callMethod()
          SWFActions interface
 void charMBToAscii()
          SWFActions interface
 void charToAscii()
          SWFActions interface
 void cloneSprite()
          SWFActions interface
 void color(Color color)
          SWFText interface
 void comment(java.lang.String comment)
          SWFActions interface
 void concat()
          SWFActions interface
 void convertToNumber()
          SWFActions interface
 void convertToString()
          SWFActions interface
 void curve(int cx, int cy, int dx, int dy)
          SWFVectors interface
 void decrement()
          SWFActions interface
 void defineBitsLossless(int id, int format, int width, int height, Color[] colors, byte[] imageData, boolean hasAlpha)
          Description of the Method
 void defineFillStyle(Color color)
          SWFShape interface
 void defineFillStyle(int bitmapId, Matrix matrix, boolean clipped)
          SWFShape interface
 void defineFillStyle(Matrix matrix, int[] ratios, Color[] colors, boolean radial)
          SWFShape interface
 void defineLineStyle(int width, Color color)
          SWFShape interface
 void defineLocal()
          SWFActions interface
 void defineLocalValue()
          SWFActions interface
protected  SWFText defineText(int id, Rect bounds, Matrix matrix, boolean hasAlpha)
          Description of the Method
 void deleteProperty()
          SWFActions interface
 void deleteThreadVars()
          SWFActions interface
 void divide()
          SWFActions interface
 void done()
          SWFVectors interface SWFActions interface SWFText interface
 void duplicate()
          SWFActions interface
 void end()
          SWFActions interface
 void endBlock()
          SWFActions interface
 void endDrag()
          SWFActions interface
 void enumerate()
          SWFActions interface
 void equals()
          SWFActions interface
 void font(int fontId, int textHeight)
          SWFText interface
 void getMember()
          SWFActions interface
 void getProperty()
          SWFActions interface
 void getTargetPath()
          SWFActions interface
 void getTime()
          SWFActions interface
 void getURL(int sendVars, int loadMode)
          SWFActions interface
 void getURL(java.lang.String url, java.lang.String target)
          SWFActions interface
 void getVariable()
          SWFActions interface
 void gotoFrame(boolean play)
          SWFActions interface
 void gotoFrame(int frameNumber)
          SWFActions interface
 void gotoFrame(java.lang.String label)
          SWFActions interface
 void header(int version, long length, int twipsWidth, int twipsHeight, int frameRate, int frameCount)
          SWFHeader interface.
 void ifJump(java.lang.String jumpLabel)
          SWFActions interface
 void increment()
          SWFActions interface
 void initArray()
          SWFActions interface
 void initObject()
          SWFActions interface
 void jump(java.lang.String jumpLabel)
          SWFActions interface
 void jumpLabel(java.lang.String label)
          SWFActions interface
 void lessThan()
          SWFActions interface
 void line(int dx, int dy)
          SWFVectors interface
 void lookup(int dictionaryIndex)
          SWFActions interface
 void lookupTable(java.lang.String[] values)
          SWFActions interface
static void main(java.lang.String[] args)
          Read a SWF file (args[0]) and write XML out (args[1])
 void modulo()
          SWFActions interface
 void move(int x, int y)
          SWFVectors interface
 void multiply()
          SWFActions interface
 void newMethod()
          SWFActions interface
 void newObject()
          SWFActions interface
 void nextFrame()
          SWFActions interface
 void not()
          SWFActions interface
 void or()
          SWFActions interface
 void parse(org.xml.sax.InputSource input)
          Reads the input as a SWF file byte stream
protected  void parse(java.io.InputStream istream)
          Description of the Method
 void parse(java.lang.String systemId)
          Reads the systemId as a filename
 void play()
          SWFActions interface
 void pop()
          SWFActions interface
 void prevFrame()
          SWFActions interface
 void push(boolean value)
          SWFActions interface
 void push(double value)
          SWFActions interface
 void push(float value)
          SWFActions interface
 void push(int value)
          SWFActions interface
 void push(java.lang.String value)
          SWFActions interface
 void pushNull()
          SWFActions interface
 void pushRegister(int registerNumber)
          SWFActions interface
 void randomNumber()
          SWFActions interface
 void removeSprite()
          SWFActions interface
 void returnValue()
          SWFActions interface
 void setFillStyle0(int styleIndex)
          SWFShape interface
 void setFillStyle1(int styleIndex)
          SWFShape interface
 void setLineStyle(int styleIndex)
          SWFShape interface
 void setMember()
          SWFActions interface
 void setProperty()
          SWFActions interface
 void setTarget()
          SWFActions interface
 void setTarget(java.lang.String target)
          SWFActions interface
 void setVariable()
          SWFActions interface
 void setX(int x)
          SWFText interface
 void setY(int y)
          SWFText interface
 void shiftLeft()
          SWFActions interface
 void shiftRight()
          SWFActions interface
 void shiftRightUnsigned()
          SWFActions interface
protected  void soundInfo(SoundInfo info, java.lang.String event, int id)
          Description of the Method
protected  void soundStreamHead(java.lang.String type, int playbackFrequency, boolean playback16bit, boolean playbackStereo, int streamFormat, int streamFrequency, boolean stream16bit, boolean streamStereo, int averageSampleCount)
          Description of the Method
 void start(int flags2)
          SWFActions interface
 void startDrag()
          SWFActions interface
 void startFunction(java.lang.String name, java.lang.String[] paramNames)
          SWFActions interface
 void startWith()
          SWFActions interface
 void stop()
          SWFActions interface
 void stopSounds()
          SWFActions interface
 void storeInRegister(int registerNumber)
          SWFActions interface
 void stringEquals()
          SWFActions interface
 void stringLength()
          SWFActions interface
 void stringLengthMB()
          SWFActions interface
 void stringLessThan()
          SWFActions interface
 void substract()
          SWFActions interface
 void substring()
          SWFActions interface
 void substringMB()
          SWFActions interface
 void swap()
          SWFActions interface
 void tag(int tagType, boolean longTag, byte[] contents)
          SWFTags interface
 void tagButtonCXForm(int buttonId, ColorTransform transform)
          SWFTagTypes interface
 void tagDefineBits(int id, byte[] imageData)
          SWFTagTypes interface
 void tagDefineBitsJPEG2(int id, byte[] data)
          SWFTagTypes interface
 void tagDefineBitsJPEG2(int id, java.io.InputStream jpegImage)
          SWFTagTypes interface
 void tagDefineBitsJPEG3(int id, byte[] imageData, byte[] alphaData)
          SWFTagTypes interface
 void tagDefineBitsLossless(int id, int format, int width, int height, Color[] colors, byte[] imageData)
          SWFTagTypes interface
 void tagDefineBitsLossless2(int id, int format, int width, int height, Color[] colors, byte[] imageData)
          SWFTagTypes interface
 SWFActions tagDefineButton(int id, java.util.List buttonRecords)
          SWFTagTypes interface
 SWFActions tagDefineButton2(int id, boolean trackAsMenu, java.util.List buttonRecord2s)
          SWFTagTypes interface
 void tagDefineButtonSound(int buttonId, int rollOverSoundId, SoundInfo rollOverSoundInfo, int rollOutSoundId, SoundInfo rollOutSoundInfo, int pressSoundId, SoundInfo pressSoundInfo, int releaseSoundId, SoundInfo releaseSoundInfo)
          SWFTagTypes interface
 SWFVectors tagDefineFont(int id, int numGlyphs)
          SWFTagTypes interface
 SWFVectors tagDefineFont2(int id, int flags, java.lang.String name, int numGlyphs, int ascent, int descent, int leading, int[] codes, int[] advances, Rect[] bounds, int[] kernCodes1, int[] kernCodes2, int[] kernAdjustments)
          SWFTagTypes interface
 void tagDefineFontInfo(int fontId, java.lang.String fontName, int flags, int[] codes)
          SWFTagTypes interface
 SWFShape tagDefineMorphShape(int id, Rect startBounds, Rect endBounds)
          SWFTagTypes interface
 void tagDefineQuickTimeMovie(int id, java.lang.String filename)
          SWFTagTypes interface
 SWFShape tagDefineShape(int id, Rect outline)
          SWFTagTypes interface
 SWFShape tagDefineShape2(int id, Rect outline)
          SWFTagTypes interface
 SWFShape tagDefineShape3(int id, Rect outline)
          SWFTagTypes interface
 void tagDefineSound(int id, int format, int frequency, boolean bits16, boolean stereo, int sampleCount, byte[] soundData)
          SWFTagTypes interface
 SWFTagTypes tagDefineSprite(int id)
          SWFTagTypes interface
 SWFText tagDefineText(int id, Rect bounds, Matrix matrix)
          SWFTagTypes interface
 SWFText tagDefineText2(int id, Rect bounds, Matrix matrix)
          SWFTagTypes interface
 void tagDefineTextField(int fieldId, java.lang.String fieldName, java.lang.String initialText, Rect boundary, int flags, AlphaColor textColor, int alignment, int fontId, int fontSize, int charLimit, int leftMargin, int rightMargin, int indentation, int lineSpacing)
          SWFTagTypes interface
 SWFActions tagDoAction()
          SWFTagTypes interface
 void tagEnableDebug(byte[] password)
          SWFTagTypes interface
 void tagEnd()
          SWFTagTypes interface
 void tagExport(java.lang.String[] names, int[] ids)
          SWFTagTypes interface
 void tagFrameLabel(java.lang.String label)
          SWFTagTypes interface
 void tagFreeCharacter(int charId)
          SWFTagTypes interface
 void tagGenerator(byte[] data)
          SWFTagTypes interface
 void tagGeneratorCommand(byte[] data)
          SWFTagTypes interface
 void tagGeneratorFont(byte[] data)
          SWFTagTypes interface
 void tagGeneratorText(byte[] data)
          SWFTagTypes interface
 void tagImport(java.lang.String movieName, java.lang.String[] names, int[] ids)
          SWFTagTypes interface
 void tagJPEGTables(byte[] jpegEncodingData)
          SWFTagTypes interface
 void tagNameCharacter(byte[] data)
          SWFTagTypes interface
 void tagPlaceObject(int charId, int depth, Matrix matrix, AlphaTransform cxform)
          SWFTagTypes interface
 SWFActions tagPlaceObject2(boolean isMove, int clipDepth, int depth, int charId, Matrix matrix, AlphaTransform cxform, int ratio, java.lang.String name, int clipActionFlags)
          SWFTagTypes interface
 void tagProtect(byte[] password)
          SWFTagTypes interface
 void tagRemoveObject(int charId, int depth)
          SWFTagTypes interface
 void tagRemoveObject2(int depth)
          SWFTagTypes interface
 void tagSerialNumber(java.lang.String serialNumber)
          SWFTagTypes interface
 void tagSetBackgroundColor(Color color)
          SWFTagTypes interface
 void tagShowFrame()
          SWFTagTypes interface
 void tagSoundStreamBlock(byte[] soundData)
          SWFTagTypes interface
 void tagSoundStreamHead(int playbackFrequency, boolean playback16bit, boolean playbackStereo, int streamFormat, int streamFrequency, boolean stream16bit, boolean streamStereo, int averageSampleCount)
          SWFTagTypes interface
 void tagSoundStreamHead2(int playbackFrequency, boolean playback16bit, boolean playbackStereo, int streamFormat, int streamFrequency, boolean stream16bit, boolean streamStereo, int averageSampleCount)
          SWFTagTypes interface
 void tagStartSound(int soundId, SoundInfo info)
          SWFTagTypes interface
 void text(int[] glyphIndices, int[] glyphAdvances)
          SWFText interface
 void toggleQuality()
          SWFActions interface
 void toInteger()
          SWFActions interface
 void trace()
          SWFActions interface
 void typedAdd()
          SWFActions interface
 void typedEquals()
          SWFActions interface
 void typedLessThan()
          SWFActions interface
 void typeOf()
          SWFActions interface
 void unknown(int code, byte[] data)
          SWFActions interface
 void waitForFrame(int frameNumber, java.lang.String jumpLabel)
          SWFActions interface
 void waitForFrame(java.lang.String jumpLabel)
          SWFActions interface
protected  void writeColor(Color color)
          Description of the Method
protected  void writeCXForm(ColorTransform cxform)
          Description of the Method
protected  void writeMatrix(Matrix matrix)
          Description of the Method
 
Methods inherited from class pt.tumba.parser.swf.SaxParserBase
element, endDoc, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getNamespace, getProperty, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setNamespace, setProperty, start, startDoc, text
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAMESPACE

public static final java.lang.String NAMESPACE
The namespace for the SWF XML vocabulary

See Also:
Constant Field Values

frameLabel

protected java.lang.String frameLabel
Description of the Field


definingSprite

protected boolean definingSprite
Description of the Field


actionsType

protected int actionsType
Description of the Field


glyphCount

protected int glyphCount
Description of the Field


glyphRects

protected Rect[] glyphRects
Description of the Field


glyphAdvances

protected int[] glyphAdvances
Description of the Field


glyphCodes

protected int[] glyphCodes
Description of the Field


morphEndRect

protected Rect morphEndRect
Description of the Field


morph

protected boolean morph
Description of the Field

Constructor Detail

SWFSaxParser

public SWFSaxParser()
Constructor for the SWFSaxParser object


SWFSaxParser

public SWFSaxParser(org.xml.sax.ContentHandler contenthandler,
                    org.xml.sax.ErrorHandler errorhandler)
Constructor for the SWFSaxParser object

Parameters:
contenthandler - Description of the Parameter
errorhandler - Description of the Parameter
Method Detail

parse

public void parse(org.xml.sax.InputSource input)
           throws java.io.IOException,
                  org.xml.sax.SAXException
Reads the input as a SWF file byte stream

Specified by:
parse in interface org.xml.sax.XMLReader
Specified by:
parse in class SaxParserBase
Parameters:
input - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception
org.xml.sax.SAXException - Description of the Exception

parse

public void parse(java.lang.String systemId)
           throws java.io.IOException,
                  org.xml.sax.SAXException
Reads the systemId as a filename

Specified by:
parse in interface org.xml.sax.XMLReader
Specified by:
parse in class SaxParserBase
Parameters:
systemId - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception
org.xml.sax.SAXException - Description of the Exception

parse

protected void parse(java.io.InputStream istream)
              throws java.io.IOException
Description of the Method

Parameters:
istream - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tag

public void tag(int tagType,
                boolean longTag,
                byte[] contents)
         throws java.io.IOException
SWFTags interface

Specified by:
tag in interface SWFTags
Parameters:
tagType - Description of the Parameter
longTag - Description of the Parameter
contents - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

header

public void header(int version,
                   long length,
                   int twipsWidth,
                   int twipsHeight,
                   int frameRate,
                   int frameCount)
            throws java.io.IOException
SWFHeader interface.

Specified by:
header in interface SWFHeader
Parameters:
version - Description of the Parameter
length - Description of the Parameter
twipsWidth - Description of the Parameter
twipsHeight - Description of the Parameter
frameRate - Description of the Parameter
frameCount - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagEnd

public void tagEnd()
            throws java.io.IOException
SWFTagTypes interface

Specified by:
tagEnd in interface SWFSpriteTagTypes
Throws:
java.io.IOException - Description of the Exception

tagShowFrame

public void tagShowFrame()
                  throws java.io.IOException
SWFTagTypes interface

Specified by:
tagShowFrame in interface SWFSpriteTagTypes
Throws:
java.io.IOException - Description of the Exception

tagDefineSound

public void tagDefineSound(int id,
                           int format,
                           int frequency,
                           boolean bits16,
                           boolean stereo,
                           int sampleCount,
                           byte[] soundData)
                    throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDefineSound in interface SWFTagTypes
Parameters:
id - Description of the Parameter
format - Description of the Parameter
frequency - Description of the Parameter
bits16 - Description of the Parameter
stereo - Description of the Parameter
sampleCount - Description of the Parameter
soundData - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

soundInfo

protected void soundInfo(SoundInfo info,
                         java.lang.String event,
                         int id)
                  throws java.io.IOException
Description of the Method

Parameters:
info - Description of the Parameter
event - Description of the Parameter
id - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagDefineButtonSound

public void tagDefineButtonSound(int buttonId,
                                 int rollOverSoundId,
                                 SoundInfo rollOverSoundInfo,
                                 int rollOutSoundId,
                                 SoundInfo rollOutSoundInfo,
                                 int pressSoundId,
                                 SoundInfo pressSoundInfo,
                                 int releaseSoundId,
                                 SoundInfo releaseSoundInfo)
                          throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDefineButtonSound in interface SWFTagTypes
Parameters:
buttonId - Description of the Parameter
rollOverSoundId - Description of the Parameter
rollOverSoundInfo - Description of the Parameter
rollOutSoundId - Description of the Parameter
rollOutSoundInfo - Description of the Parameter
pressSoundId - Description of the Parameter
pressSoundInfo - Description of the Parameter
releaseSoundId - Description of the Parameter
releaseSoundInfo - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagStartSound

public void tagStartSound(int soundId,
                          SoundInfo info)
                   throws java.io.IOException
SWFTagTypes interface

Specified by:
tagStartSound in interface SWFSpriteTagTypes
Parameters:
soundId - Description of the Parameter
info - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

soundStreamHead

protected void soundStreamHead(java.lang.String type,
                               int playbackFrequency,
                               boolean playback16bit,
                               boolean playbackStereo,
                               int streamFormat,
                               int streamFrequency,
                               boolean stream16bit,
                               boolean streamStereo,
                               int averageSampleCount)
                        throws java.io.IOException
Description of the Method

Parameters:
type - Description of the Parameter
playbackFrequency - Description of the Parameter
playback16bit - Description of the Parameter
playbackStereo - Description of the Parameter
streamFormat - Description of the Parameter
streamFrequency - Description of the Parameter
stream16bit - Description of the Parameter
streamStereo - Description of the Parameter
averageSampleCount - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagSoundStreamHead

public void tagSoundStreamHead(int playbackFrequency,
                               boolean playback16bit,
                               boolean playbackStereo,
                               int streamFormat,
                               int streamFrequency,
                               boolean stream16bit,
                               boolean streamStereo,
                               int averageSampleCount)
                        throws java.io.IOException
SWFTagTypes interface

Specified by:
tagSoundStreamHead in interface SWFSpriteTagTypes
Parameters:
playbackFrequency - Description of the Parameter
playback16bit - Description of the Parameter
playbackStereo - Description of the Parameter
streamFormat - Description of the Parameter
streamFrequency - Description of the Parameter
stream16bit - Description of the Parameter
streamStereo - Description of the Parameter
averageSampleCount - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagSoundStreamHead2

public void tagSoundStreamHead2(int playbackFrequency,
                                boolean playback16bit,
                                boolean playbackStereo,
                                int streamFormat,
                                int streamFrequency,
                                boolean stream16bit,
                                boolean streamStereo,
                                int averageSampleCount)
                         throws java.io.IOException
SWFTagTypes interface

Specified by:
tagSoundStreamHead2 in interface SWFSpriteTagTypes
Parameters:
playbackFrequency - Description of the Parameter
playback16bit - Description of the Parameter
playbackStereo - Description of the Parameter
streamFormat - Description of the Parameter
streamFrequency - Description of the Parameter
stream16bit - Description of the Parameter
streamStereo - Description of the Parameter
averageSampleCount - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagSoundStreamBlock

public void tagSoundStreamBlock(byte[] soundData)
                         throws java.io.IOException
SWFTagTypes interface

Specified by:
tagSoundStreamBlock in interface SWFSpriteTagTypes
Parameters:
soundData - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagSerialNumber

public void tagSerialNumber(java.lang.String serialNumber)
                     throws java.io.IOException
SWFTagTypes interface

Specified by:
tagSerialNumber in interface SWFTagTypes
Parameters:
serialNumber - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagGenerator

public void tagGenerator(byte[] data)
                  throws java.io.IOException
SWFTagTypes interface

Specified by:
tagGenerator in interface SWFTagTypes
Parameters:
data - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagGeneratorText

public void tagGeneratorText(byte[] data)
                      throws java.io.IOException
SWFTagTypes interface

Specified by:
tagGeneratorText in interface SWFTagTypes
Parameters:
data - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagGeneratorCommand

public void tagGeneratorCommand(byte[] data)
                         throws java.io.IOException
SWFTagTypes interface

Specified by:
tagGeneratorCommand in interface SWFTagTypes
Parameters:
data - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagGeneratorFont

public void tagGeneratorFont(byte[] data)
                      throws java.io.IOException
SWFTagTypes interface

Specified by:
tagGeneratorFont in interface SWFTagTypes
Parameters:
data - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagNameCharacter

public void tagNameCharacter(byte[] data)
                      throws java.io.IOException
SWFTagTypes interface

Specified by:
tagNameCharacter in interface SWFTagTypes
Parameters:
data - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagDefineBits

public void tagDefineBits(int id,
                          byte[] imageData)
                   throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDefineBits in interface SWFTagTypes
Parameters:
id - Description of the Parameter
imageData - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagJPEGTables

public void tagJPEGTables(byte[] jpegEncodingData)
                   throws java.io.IOException
SWFTagTypes interface

Specified by:
tagJPEGTables in interface SWFTagTypes
Parameters:
jpegEncodingData - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagDefineBitsJPEG3

public void tagDefineBitsJPEG3(int id,
                               byte[] imageData,
                               byte[] alphaData)
                        throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDefineBitsJPEG3 in interface SWFTagTypes
Parameters:
id - Description of the Parameter
imageData - Description of the Parameter
alphaData - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagDoAction

public SWFActions tagDoAction()
                       throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDoAction in interface SWFSpriteTagTypes
Returns:
Description of the Return Value
Throws:
java.io.IOException - Description of the Exception

tagDefineShape

public SWFShape tagDefineShape(int id,
                               Rect outline)
                        throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDefineShape in interface SWFTagTypes
Parameters:
id - Description of the Parameter
outline - Description of the Parameter
Returns:
Description of the Return Value
Throws:
java.io.IOException - Description of the Exception

tagDefineShape2

public SWFShape tagDefineShape2(int id,
                                Rect outline)
                         throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDefineShape2 in interface SWFTagTypes
Parameters:
id - Description of the Parameter
outline - Description of the Parameter
Returns:
Description of the Return Value
Throws:
java.io.IOException - Description of the Exception

tagDefineShape3

public SWFShape tagDefineShape3(int id,
                                Rect outline)
                         throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDefineShape3 in interface SWFTagTypes
Parameters:
id - Description of the Parameter
outline - Description of the Parameter
Returns:
Description of the Return Value
Throws:
java.io.IOException - Description of the Exception

tagFreeCharacter

public void tagFreeCharacter(int charId)
                      throws java.io.IOException
SWFTagTypes interface

Specified by:
tagFreeCharacter in interface SWFSpriteTagTypes
Parameters:
charId - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagPlaceObject

public void tagPlaceObject(int charId,
                           int depth,
                           Matrix matrix,
                           AlphaTransform cxform)
                    throws java.io.IOException
SWFTagTypes interface

Specified by:
tagPlaceObject in interface SWFSpriteTagTypes
Parameters:
charId - Description of the Parameter
depth - Description of the Parameter
matrix - Description of the Parameter
cxform - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagPlaceObject2

public SWFActions tagPlaceObject2(boolean isMove,
                                  int clipDepth,
                                  int depth,
                                  int charId,
                                  Matrix matrix,
                                  AlphaTransform cxform,
                                  int ratio,
                                  java.lang.String name,
                                  int clipActionFlags)
                           throws java.io.IOException
SWFTagTypes interface

Specified by:
tagPlaceObject2 in interface SWFSpriteTagTypes
Parameters:
isMove - Description of the Parameter
clipDepth - Description of the Parameter
depth - Description of the Parameter
charId - Description of the Parameter
matrix - Description of the Parameter
cxform - Description of the Parameter
ratio - Description of the Parameter
name - Description of the Parameter
clipActionFlags - Description of the Parameter
Returns:
Description of the Return Value
Throws:
java.io.IOException - Description of the Exception

tagRemoveObject

public void tagRemoveObject(int charId,
                            int depth)
                     throws java.io.IOException
SWFTagTypes interface

Specified by:
tagRemoveObject in interface SWFSpriteTagTypes
Parameters:
charId - Description of the Parameter
depth - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagRemoveObject2

public void tagRemoveObject2(int depth)
                      throws java.io.IOException
SWFTagTypes interface

Specified by:
tagRemoveObject2 in interface SWFSpriteTagTypes
Parameters:
depth - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagSetBackgroundColor

public void tagSetBackgroundColor(Color color)
                           throws java.io.IOException
SWFTagTypes interface

Specified by:
tagSetBackgroundColor in interface SWFTagTypes
Parameters:
color - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagFrameLabel

public void tagFrameLabel(java.lang.String label)
                   throws java.io.IOException
SWFTagTypes interface

Specified by:
tagFrameLabel in interface SWFSpriteTagTypes
Parameters:
label - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagDefineSprite

public SWFTagTypes tagDefineSprite(int id)
                            throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDefineSprite in interface SWFTagTypes
Parameters:
id - Description of the Parameter
Returns:
Description of the Return Value
Throws:
java.io.IOException - Description of the Exception

tagProtect

public void tagProtect(byte[] password)
                throws java.io.IOException
SWFTagTypes interface

Specified by:
tagProtect in interface SWFTagTypes
Parameters:
password - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagEnableDebug

public void tagEnableDebug(byte[] password)
                    throws java.io.IOException
SWFTagTypes interface

Specified by:
tagEnableDebug in interface SWFTagTypes
Parameters:
password - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagDefineFont

public SWFVectors tagDefineFont(int id,
                                int numGlyphs)
                         throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDefineFont in interface SWFTagTypes
Parameters:
id - Description of the Parameter
numGlyphs - Description of the Parameter
Returns:
Description of the Return Value
Throws:
java.io.IOException - Description of the Exception

tagDefineFontInfo

public void tagDefineFontInfo(int fontId,
                              java.lang.String fontName,
                              int flags,
                              int[] codes)
                       throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDefineFontInfo in interface SWFTagTypes
Parameters:
fontId - Description of the Parameter
fontName - Description of the Parameter
flags - Description of the Parameter
codes - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagDefineFont2

public SWFVectors tagDefineFont2(int id,
                                 int flags,
                                 java.lang.String name,
                                 int numGlyphs,
                                 int ascent,
                                 int descent,
                                 int leading,
                                 int[] codes,
                                 int[] advances,
                                 Rect[] bounds,
                                 int[] kernCodes1,
                                 int[] kernCodes2,
                                 int[] kernAdjustments)
                          throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDefineFont2 in interface SWFTagTypes
Parameters:
id - Description of the Parameter
flags - Description of the Parameter
name - Description of the Parameter
numGlyphs - Description of the Parameter
ascent - Description of the Parameter
descent - Description of the Parameter
leading - Description of the Parameter
codes - Description of the Parameter
advances - Description of the Parameter
bounds - Description of the Parameter
kernCodes1 - Description of the Parameter
kernCodes2 - Description of the Parameter
kernAdjustments - Description of the Parameter
Returns:
Description of the Return Value
Throws:
java.io.IOException - Description of the Exception

tagDefineTextField

public void tagDefineTextField(int fieldId,
                               java.lang.String fieldName,
                               java.lang.String initialText,
                               Rect boundary,
                               int flags,
                               AlphaColor textColor,
                               int alignment,
                               int fontId,
                               int fontSize,
                               int charLimit,
                               int leftMargin,
                               int rightMargin,
                               int indentation,
                               int lineSpacing)
                        throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDefineTextField in interface SWFTagTypes
Parameters:
fieldId - Description of the Parameter
fieldName - Description of the Parameter
initialText - Description of the Parameter
boundary - Description of the Parameter
flags - Description of the Parameter
textColor - Description of the Parameter
alignment - Description of the Parameter
fontId - Description of the Parameter
fontSize - Description of the Parameter
charLimit - Description of the Parameter
leftMargin - Description of the Parameter
rightMargin - Description of the Parameter
indentation - Description of the Parameter
lineSpacing - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagDefineText

public SWFText tagDefineText(int id,
                             Rect bounds,
                             Matrix matrix)
                      throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDefineText in interface SWFTagTypes
Parameters:
id - Description of the Parameter
bounds - Description of the Parameter
matrix - Description of the Parameter
Returns:
Description of the Return Value
Throws:
java.io.IOException - Description of the Exception

tagDefineText2

public SWFText tagDefineText2(int id,
                              Rect bounds,
                              Matrix matrix)
                       throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDefineText2 in interface SWFTagTypes
Parameters:
id - Description of the Parameter
bounds - Description of the Parameter
matrix - Description of the Parameter
Returns:
Description of the Return Value
Throws:
java.io.IOException - Description of the Exception

defineText

protected SWFText defineText(int id,
                             Rect bounds,
                             Matrix matrix,
                             boolean hasAlpha)
                      throws java.io.IOException
Description of the Method

Parameters:
id - Description of the Parameter
bounds - Description of the Parameter
matrix - Description of the Parameter
hasAlpha - Description of the Parameter
Returns:
Description of the Return Value
Throws:
java.io.IOException - Description of the Exception

tagDefineButton

public SWFActions tagDefineButton(int id,
                                  java.util.List buttonRecords)
                           throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDefineButton in interface SWFTagTypes
Parameters:
id - Description of the Parameter
buttonRecords - Description of the Parameter
Returns:
Description of the Return Value
Throws:
java.io.IOException - Description of the Exception
See Also:
com.anotherbigidea.flash.structs.ButtonRecord

tagButtonCXForm

public void tagButtonCXForm(int buttonId,
                            ColorTransform transform)
                     throws java.io.IOException
SWFTagTypes interface

Specified by:
tagButtonCXForm in interface SWFTagTypes
Parameters:
buttonId - Description of the Parameter
transform - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagDefineButton2

public SWFActions tagDefineButton2(int id,
                                   boolean trackAsMenu,
                                   java.util.List buttonRecord2s)
                            throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDefineButton2 in interface SWFTagTypes
Parameters:
id - Description of the Parameter
trackAsMenu - Description of the Parameter
buttonRecord2s - Description of the Parameter
Returns:
Description of the Return Value
Throws:
java.io.IOException - Description of the Exception
See Also:
com.anotherbigidea.flash.structs.ButtonRecord2

tagExport

public void tagExport(java.lang.String[] names,
                      int[] ids)
               throws java.io.IOException
SWFTagTypes interface

Specified by:
tagExport in interface SWFTagTypes
Parameters:
names - Description of the Parameter
ids - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagImport

public void tagImport(java.lang.String movieName,
                      java.lang.String[] names,
                      int[] ids)
               throws java.io.IOException
SWFTagTypes interface

Specified by:
tagImport in interface SWFTagTypes
Parameters:
movieName - Description of the Parameter
names - Description of the Parameter
ids - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagDefineQuickTimeMovie

public void tagDefineQuickTimeMovie(int id,
                                    java.lang.String filename)
                             throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDefineQuickTimeMovie in interface SWFTagTypes
Parameters:
id - Description of the Parameter
filename - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagDefineBitsJPEG2

public void tagDefineBitsJPEG2(int id,
                               byte[] data)
                        throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDefineBitsJPEG2 in interface SWFTagTypes
Parameters:
id - Description of the Parameter
data - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagDefineBitsJPEG2

public void tagDefineBitsJPEG2(int id,
                               java.io.InputStream jpegImage)
                        throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDefineBitsJPEG2 in interface SWFTagTypes
Parameters:
id - Description of the Parameter
jpegImage - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagDefineMorphShape

public SWFShape tagDefineMorphShape(int id,
                                    Rect startBounds,
                                    Rect endBounds)
                             throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDefineMorphShape in interface SWFTagTypes
Parameters:
id - Description of the Parameter
startBounds - Description of the Parameter
endBounds - Description of the Parameter
Returns:
Description of the Return Value
Throws:
java.io.IOException - Description of the Exception

tagDefineBitsLossless

public void tagDefineBitsLossless(int id,
                                  int format,
                                  int width,
                                  int height,
                                  Color[] colors,
                                  byte[] imageData)
                           throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDefineBitsLossless in interface SWFTagTypes
Parameters:
id - Description of the Parameter
format - Description of the Parameter
width - Description of the Parameter
height - Description of the Parameter
colors - Description of the Parameter
imageData - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tagDefineBitsLossless2

public void tagDefineBitsLossless2(int id,
                                   int format,
                                   int width,
                                   int height,
                                   Color[] colors,
                                   byte[] imageData)
                            throws java.io.IOException
SWFTagTypes interface

Specified by:
tagDefineBitsLossless2 in interface SWFTagTypes
Parameters:
id - Description of the Parameter
format - Description of the Parameter
width - Description of the Parameter
height - Description of the Parameter
colors - Description of the Parameter
imageData - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

defineBitsLossless

public void defineBitsLossless(int id,
                               int format,
                               int width,
                               int height,
                               Color[] colors,
                               byte[] imageData,
                               boolean hasAlpha)
                        throws java.io.IOException
Description of the Method

Parameters:
id - Description of the Parameter
format - Description of the Parameter
width - Description of the Parameter
height - Description of the Parameter
colors - Description of the Parameter
imageData - Description of the Parameter
hasAlpha - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

done

public void done()
          throws java.io.IOException
SWFVectors interface SWFActions interface SWFText interface

Specified by:
done in interface SWFActions
Specified by:
done in interface SWFText
Specified by:
done in interface SWFVectors
Throws:
java.io.IOException - Description of the Exception

line

public void line(int dx,
                 int dy)
          throws java.io.IOException
SWFVectors interface

Specified by:
line in interface SWFVectors
Parameters:
dx - Description of the Parameter
dy - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

curve

public void curve(int cx,
                  int cy,
                  int dx,
                  int dy)
           throws java.io.IOException
SWFVectors interface

Specified by:
curve in interface SWFVectors
Parameters:
cx - Description of the Parameter
cy - Description of the Parameter
dx - Description of the Parameter
dy - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

move

public void move(int x,
                 int y)
          throws java.io.IOException
SWFVectors interface

Specified by:
move in interface SWFVectors
Parameters:
x - Description of the Parameter
y - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

setFillStyle0

public void setFillStyle0(int styleIndex)
                   throws java.io.IOException
SWFShape interface

Specified by:
setFillStyle0 in interface SWFShape
Parameters:
styleIndex - The new fillStyle0 value
Throws:
java.io.IOException - Description of the Exception

setFillStyle1

public void setFillStyle1(int styleIndex)
                   throws java.io.IOException
SWFShape interface

Specified by:
setFillStyle1 in interface SWFShape
Parameters:
styleIndex - The new fillStyle1 value
Throws:
java.io.IOException - Description of the Exception

setLineStyle

public void setLineStyle(int styleIndex)
                  throws java.io.IOException
SWFShape interface

Specified by:
setLineStyle in interface SWFShape
Parameters:
styleIndex - The new lineStyle value
Throws:
java.io.IOException - Description of the Exception

defineFillStyle

public void defineFillStyle(Color color)
                     throws java.io.IOException
SWFShape interface

Specified by:
defineFillStyle in interface SWFShape
Parameters:
color - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

defineFillStyle

public void defineFillStyle(Matrix matrix,
                            int[] ratios,
                            Color[] colors,
                            boolean radial)
                     throws java.io.IOException
SWFShape interface

Specified by:
defineFillStyle in interface SWFShape
Parameters:
matrix - Description of the Parameter
ratios - Description of the Parameter
colors - Description of the Parameter
radial - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

defineFillStyle

public void defineFillStyle(int bitmapId,
                            Matrix matrix,
                            boolean clipped)
                     throws java.io.IOException
SWFShape interface

Specified by:
defineFillStyle in interface SWFShape
Parameters:
bitmapId - Description of the Parameter
matrix - Description of the Parameter
clipped - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

defineLineStyle

public void defineLineStyle(int width,
                            Color color)
                     throws java.io.IOException
SWFShape interface

Specified by:
defineLineStyle in interface SWFShape
Parameters:
width - Description of the Parameter
color - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

writeMatrix

protected void writeMatrix(Matrix matrix)
                    throws java.io.IOException
Description of the Method

Parameters:
matrix - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

writeColor

protected void writeColor(Color color)
                   throws java.io.IOException
Description of the Method

Parameters:
color - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

writeCXForm

protected void writeCXForm(ColorTransform cxform)
                    throws java.io.IOException
Description of the Method

Parameters:
cxform - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

start

public void start(int flags2)
           throws java.io.IOException
SWFActions interface

Specified by:
start in interface SWFActions
Parameters:
flags - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

end

public void end()
         throws java.io.IOException
SWFActions interface

Specified by:
end in interface SWFActions
Overrides:
end in class SaxParserBase
Throws:
java.io.IOException - Description of the Exception

blob

public void blob(byte[] blob)
          throws java.io.IOException
SWFActions interface

Specified by:
blob in interface SWFActions
Parameters:
blob - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

unknown

public void unknown(int code,
                    byte[] data)
             throws java.io.IOException
SWFActions interface

Specified by:
unknown in interface SWFActions
Parameters:
code - Description of the Parameter
data - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

jumpLabel

public void jumpLabel(java.lang.String label)
               throws java.io.IOException
SWFActions interface

Specified by:
jumpLabel in interface SWFActions
Parameters:
label - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

comment

public void comment(java.lang.String comment)
             throws java.io.IOException
SWFActions interface

Specified by:
comment in interface SWFActions
Parameters:
comment - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

gotoFrame

public void gotoFrame(int frameNumber)
               throws java.io.IOException
SWFActions interface

Specified by:
gotoFrame in interface SWFActions
Parameters:
frameNumber - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

gotoFrame

public void gotoFrame(java.lang.String label)
               throws java.io.IOException
SWFActions interface

Specified by:
gotoFrame in interface SWFActions
Parameters:
label - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

getURL

public void getURL(java.lang.String url,
                   java.lang.String target)
            throws java.io.IOException
SWFActions interface

Specified by:
getURL in interface SWFActions
Parameters:
url - Description of the Parameter
target - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

nextFrame

public void nextFrame()
               throws java.io.IOException
SWFActions interface

Specified by:
nextFrame in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

prevFrame

public void prevFrame()
               throws java.io.IOException
SWFActions interface

Specified by:
prevFrame in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

play

public void play()
          throws java.io.IOException
SWFActions interface

Specified by:
play in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

stop

public void stop()
          throws java.io.IOException
SWFActions interface

Specified by:
stop in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

toggleQuality

public void toggleQuality()
                   throws java.io.IOException
SWFActions interface

Specified by:
toggleQuality in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

stopSounds

public void stopSounds()
                throws java.io.IOException
SWFActions interface

Specified by:
stopSounds in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

waitForFrame

public void waitForFrame(int frameNumber,
                         java.lang.String jumpLabel)
                  throws java.io.IOException
SWFActions interface

Specified by:
waitForFrame in interface SWFActions
Parameters:
frameNumber - Description of the Parameter
jumpLabel - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

setTarget

public void setTarget(java.lang.String target)
               throws java.io.IOException
SWFActions interface

Specified by:
setTarget in interface SWFActions
Parameters:
target - The new target value
Throws:
java.io.IOException - Description of the Exception

push

public void push(java.lang.String value)
          throws java.io.IOException
SWFActions interface

Specified by:
push in interface SWFActions
Parameters:
value - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

push

public void push(float value)
          throws java.io.IOException
SWFActions interface

Specified by:
push in interface SWFActions
Parameters:
value - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

pop

public void pop()
         throws java.io.IOException
SWFActions interface

Specified by:
pop in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

add

public void add()
         throws java.io.IOException
SWFActions interface

Specified by:
add in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

substract

public void substract()
               throws java.io.IOException
SWFActions interface

Specified by:
substract in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

multiply

public void multiply()
              throws java.io.IOException
SWFActions interface

Specified by:
multiply in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

divide

public void divide()
            throws java.io.IOException
SWFActions interface

Specified by:
divide in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

equals

public void equals()
            throws java.io.IOException
SWFActions interface

Specified by:
equals in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

lessThan

public void lessThan()
              throws java.io.IOException
SWFActions interface

Specified by:
lessThan in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

and

public void and()
         throws java.io.IOException
SWFActions interface

Specified by:
and in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

or

public void or()
        throws java.io.IOException
SWFActions interface

Specified by:
or in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

not

public void not()
         throws java.io.IOException
SWFActions interface

Specified by:
not in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

stringEquals

public void stringEquals()
                  throws java.io.IOException
SWFActions interface

Specified by:
stringEquals in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

stringLength

public void stringLength()
                  throws java.io.IOException
SWFActions interface

Specified by:
stringLength in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

concat

public void concat()
            throws java.io.IOException
SWFActions interface

Specified by:
concat in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

substring

public void substring()
               throws java.io.IOException
SWFActions interface

Specified by:
substring in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

stringLessThan

public void stringLessThan()
                    throws java.io.IOException
SWFActions interface

Specified by:
stringLessThan in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

stringLengthMB

public void stringLengthMB()
                    throws java.io.IOException
SWFActions interface

Specified by:
stringLengthMB in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

substringMB

public void substringMB()
                 throws java.io.IOException
SWFActions interface

Specified by:
substringMB in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

toInteger

public void toInteger()
               throws java.io.IOException
SWFActions interface

Specified by:
toInteger in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

charToAscii

public void charToAscii()
                 throws java.io.IOException
SWFActions interface

Specified by:
charToAscii in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

asciiToChar

public void asciiToChar()
                 throws java.io.IOException
SWFActions interface

Specified by:
asciiToChar in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

charMBToAscii

public void charMBToAscii()
                   throws java.io.IOException
SWFActions interface

Specified by:
charMBToAscii in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

asciiToCharMB

public void asciiToCharMB()
                   throws java.io.IOException
SWFActions interface

Specified by:
asciiToCharMB in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

jump

public void jump(java.lang.String jumpLabel)
          throws java.io.IOException
SWFActions interface

Specified by:
jump in interface SWFActions
Parameters:
jumpLabel - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

ifJump

public void ifJump(java.lang.String jumpLabel)
            throws java.io.IOException
SWFActions interface

Specified by:
ifJump in interface SWFActions
Parameters:
jumpLabel - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

call

public void call()
          throws java.io.IOException
SWFActions interface

Specified by:
call in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

getVariable

public void getVariable()
                 throws java.io.IOException
SWFActions interface

Specified by:
getVariable in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

setVariable

public void setVariable()
                 throws java.io.IOException
SWFActions interface

Specified by:
setVariable in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

getURL

public void getURL(int sendVars,
                   int loadMode)
            throws java.io.IOException
SWFActions interface

Specified by:
getURL in interface SWFActions
Parameters:
sendVars - Description of the Parameter
loadMode - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

gotoFrame

public void gotoFrame(boolean play)
               throws java.io.IOException
SWFActions interface

Specified by:
gotoFrame in interface SWFActions
Parameters:
play - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

setTarget

public void setTarget()
               throws java.io.IOException
SWFActions interface

Specified by:
setTarget in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

getProperty

public void getProperty()
                 throws java.io.IOException
SWFActions interface

Specified by:
getProperty in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

setProperty

public void setProperty()
                 throws java.io.IOException
SWFActions interface

Specified by:
setProperty in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

cloneSprite

public void cloneSprite()
                 throws java.io.IOException
SWFActions interface

Specified by:
cloneSprite in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

removeSprite

public void removeSprite()
                  throws java.io.IOException
SWFActions interface

Specified by:
removeSprite in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

startDrag

public void startDrag()
               throws java.io.IOException
SWFActions interface

Specified by:
startDrag in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

endDrag

public void endDrag()
             throws java.io.IOException
SWFActions interface

Specified by:
endDrag in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

waitForFrame

public void waitForFrame(java.lang.String jumpLabel)
                  throws java.io.IOException
SWFActions interface

Specified by:
waitForFrame in interface SWFActions
Parameters:
jumpLabel - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

trace

public void trace()
           throws java.io.IOException
SWFActions interface

Specified by:
trace in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

getTime

public void getTime()
             throws java.io.IOException
SWFActions interface

Specified by:
getTime in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

randomNumber

public void randomNumber()
                  throws java.io.IOException
SWFActions interface

Specified by:
randomNumber in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

callFunction

public void callFunction()
                  throws java.io.IOException
SWFActions interface

Specified by:
callFunction in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

callMethod

public void callMethod()
                throws java.io.IOException
SWFActions interface

Specified by:
callMethod in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

lookupTable

public void lookupTable(java.lang.String[] values)
                 throws java.io.IOException
SWFActions interface

Specified by:
lookupTable in interface SWFActions
Parameters:
values - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

startFunction

public void startFunction(java.lang.String name,
                          java.lang.String[] paramNames)
                   throws java.io.IOException
SWFActions interface

Specified by:
startFunction in interface SWFActions
Parameters:
name - Description of the Parameter
paramNames - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

endBlock

public void endBlock()
              throws java.io.IOException
SWFActions interface

Specified by:
endBlock in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

defineLocalValue

public void defineLocalValue()
                      throws java.io.IOException
SWFActions interface

Specified by:
defineLocalValue in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

defineLocal

public void defineLocal()
                 throws java.io.IOException
SWFActions interface

Specified by:
defineLocal in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

deleteProperty

public void deleteProperty()
                    throws java.io.IOException
SWFActions interface

Specified by:
deleteProperty in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

deleteThreadVars

public void deleteThreadVars()
                      throws java.io.IOException
SWFActions interface

Specified by:
deleteThreadVars in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

enumerate

public void enumerate()
               throws java.io.IOException
SWFActions interface

Specified by:
enumerate in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

typedEquals

public void typedEquals()
                 throws java.io.IOException
SWFActions interface

Specified by:
typedEquals in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

getMember

public void getMember()
               throws java.io.IOException
SWFActions interface

Specified by:
getMember in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

initArray

public void initArray()
               throws java.io.IOException
SWFActions interface

Specified by:
initArray in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

initObject

public void initObject()
                throws java.io.IOException
SWFActions interface

Specified by:
initObject in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

newMethod

public void newMethod()
               throws java.io.IOException
SWFActions interface

Specified by:
newMethod in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

newObject

public void newObject()
               throws java.io.IOException
SWFActions interface

Specified by:
newObject in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

setMember

public void setMember()
               throws java.io.IOException
SWFActions interface

Specified by:
setMember in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

getTargetPath

public void getTargetPath()
                   throws java.io.IOException
SWFActions interface

Specified by:
getTargetPath in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

startWith

public void startWith()
               throws java.io.IOException
SWFActions interface

Specified by:
startWith in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

convertToNumber

public void convertToNumber()
                     throws java.io.IOException
SWFActions interface

Specified by:
convertToNumber in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

convertToString

public void convertToString()
                     throws java.io.IOException
SWFActions interface

Specified by:
convertToString in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

typeOf

public void typeOf()
            throws java.io.IOException
SWFActions interface

Specified by:
typeOf in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

typedAdd

public void typedAdd()
              throws java.io.IOException
SWFActions interface

Specified by:
typedAdd in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

typedLessThan

public void typedLessThan()
                   throws java.io.IOException
SWFActions interface

Specified by:
typedLessThan in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

modulo

public void modulo()
            throws java.io.IOException
SWFActions interface

Specified by:
modulo in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

bitAnd

public void bitAnd()
            throws java.io.IOException
SWFActions interface

Specified by:
bitAnd in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

bitOr

public void bitOr()
           throws java.io.IOException
SWFActions interface

Specified by:
bitOr in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

bitXor

public void bitXor()
            throws java.io.IOException
SWFActions interface

Specified by:
bitXor in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

shiftLeft

public void shiftLeft()
               throws java.io.IOException
SWFActions interface

Specified by:
shiftLeft in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

shiftRight

public void shiftRight()
                throws java.io.IOException
SWFActions interface

Specified by:
shiftRight in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

shiftRightUnsigned

public void shiftRightUnsigned()
                        throws java.io.IOException
SWFActions interface

Specified by:
shiftRightUnsigned in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

decrement

public void decrement()
               throws java.io.IOException
SWFActions interface

Specified by:
decrement in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

increment

public void increment()
               throws java.io.IOException
SWFActions interface

Specified by:
increment in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

duplicate

public void duplicate()
               throws java.io.IOException
SWFActions interface

Specified by:
duplicate in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

returnValue

public void returnValue()
                 throws java.io.IOException
SWFActions interface

Specified by:
returnValue in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

swap

public void swap()
          throws java.io.IOException
SWFActions interface

Specified by:
swap in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

storeInRegister

public void storeInRegister(int registerNumber)
                     throws java.io.IOException
SWFActions interface

Specified by:
storeInRegister in interface SWFActions
Parameters:
registerNumber - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

push

public void push(double value)
          throws java.io.IOException
SWFActions interface

Specified by:
push in interface SWFActions
Parameters:
value - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

pushNull

public void pushNull()
              throws java.io.IOException
SWFActions interface

Specified by:
pushNull in interface SWFActions
Throws:
java.io.IOException - Description of the Exception

pushRegister

public void pushRegister(int registerNumber)
                  throws java.io.IOException
SWFActions interface

Specified by:
pushRegister in interface SWFActions
Parameters:
registerNumber - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

push

public void push(boolean value)
          throws java.io.IOException
SWFActions interface

Specified by:
push in interface SWFActions
Parameters:
value - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

push

public void push(int value)
          throws java.io.IOException
SWFActions interface

Specified by:
push in interface SWFActions
Parameters:
value - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

lookup

public void lookup(int dictionaryIndex)
            throws java.io.IOException
SWFActions interface

Specified by:
lookup in interface SWFActions
Parameters:
dictionaryIndex - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

font

public void font(int fontId,
                 int textHeight)
          throws java.io.IOException
SWFText interface

Specified by:
font in interface SWFText
Parameters:
fontId - Description of the Parameter
textHeight - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

color

public void color(Color color)
           throws java.io.IOException
SWFText interface

Specified by:
color in interface SWFText
Parameters:
color - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

setX

public void setX(int x)
          throws java.io.IOException
SWFText interface

Specified by:
setX in interface SWFText
Parameters:
x - The new x value
Throws:
java.io.IOException - Description of the Exception

setY

public void setY(int y)
          throws java.io.IOException
SWFText interface

Specified by:
setY in interface SWFText
Parameters:
y - The new y value
Throws:
java.io.IOException - Description of the Exception

text

public void text(int[] glyphIndices,
                 int[] glyphAdvances)
          throws java.io.IOException
SWFText interface

Specified by:
text in interface SWFText
Parameters:
glyphIndices - Description of the Parameter
glyphAdvances - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Read a SWF file (args[0]) and write XML out (args[1])

Parameters:
args - The command line arguments
Throws:
java.lang.Exception - Description of the Exception