pt.tumba.parser.swf
Class ActionWriter

java.lang.Object
  extended by pt.tumba.parser.swf.ActionWriter
All Implemented Interfaces:
SWFActionCodes, SWFActions
Direct Known Subclasses:
Actions, TagWriter.ButtonActionWriter

public class ActionWriter
extends java.lang.Object
implements SWFActions, SWFActionCodes

A writer that implements the SWFActions interface and writes action bytes to an OutStream

Author:
unknown

Field Summary
protected  java.util.List blocks
          Description of the Field
protected  java.util.Stack blockStack
          Description of the Field
protected  java.io.ByteArrayOutputStream bout
          Description of the Field
protected  int count
          Description of the Field
protected  int flashVersion
          Description of the Field
protected  java.util.List jumps
          Description of the Field
protected  java.util.Hashtable labels
          Description of the Field
protected  OutStream out
          Description of the Field
protected  java.util.List pushValues
          Description of the Field
protected  java.util.List skips
          Description of the Field
protected  TagWriter tagWriter
          Description of the Field
 
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
 
Fields inherited from interface pt.tumba.parser.swf.SWFActionCodes
ADD, AND, ASCII_TO_CHAR, BIT_AND, BIT_OR, BIT_XOR, CALL, CALL_FUNCTION, CALL_METHOD, CALL_NEW_METHOD, CHAR_TO_ASCII, CLONE_SPRITE, CONVERT_TO_NUMBER, CONVERT_TO_STRING, DECREMENT, DEFINE_FUNCTION, DEFINE_LOCAL, DEFINE_LOCAL_VAL, DEL_THREAD_VARS, DEL_VAR, DIVIDE, DUPLICATE, END_DRAG, ENUMERATE, EQUALS, GET_MEMBER, GET_PROPERTY, GET_TARGET_PATH, GET_TIME, GET_URL, GET_URL_2, GET_VARIABLE, GOTO_FRAME, GOTO_FRAME_2, GOTO_LABEL, IF, INCREMENT, INIT_ARRAY, INIT_OBJECT, JUMP, LESS, LOOKUP_TABLE, MB_ASCII_TO_CHAR, MB_CHAR_TO_ASCII, MB_STRING_EXTRACT, MB_STRING_LENGTH, MODULO, MULTIPLY, NEW_OBJECT, NEXT_FRAME, NOT, OR, PLAY, POP, PREVIOUS_FRAME, PROP_ALPHA, PROP_CURRENTFRAME, PROP_DROPTARGET, PROP_FOCUSRECT, PROP_FRAMESLOADED, PROP_HEIGHT, PROP_HIGHQUALITY, PROP_NAME, PROP_QUALITY, PROP_ROTATION, PROP_SOUNDBUFTIME, PROP_TARGET, PROP_TOTALFRAMES, PROP_URL, PROP_VISIBLE, PROP_WIDTH, PROP_X, PROP_XMOUSE, PROP_XSCALE, PROP_Y, PROP_YMOUSE, PROP_YSCALE, PUSH, PUSHTYPE_03, PUSHTYPE_BOOLEAN, PUSHTYPE_DOUBLE, PUSHTYPE_FLOAT, PUSHTYPE_INTEGER, PUSHTYPE_LOOKUP, PUSHTYPE_NULL, PUSHTYPE_REGISTER, PUSHTYPE_STRING, RANDOM_NUMBER, REGISTER, REMOVE_SPRITE, RETURN, SET_MEMBER, SET_PROPERTY, SET_TARGET, SET_TARGET_2, SET_VARIABLE, SHIFT_LEFT, SHIFT_RIGHT, SHIFT_UNSIGNED, START_DRAG, STOP, STOP_SOUNDS, STRING_ADD, STRING_EQUALS, STRING_EXTRACT, STRING_LENGTH, STRING_LESS, SUBTRACT, SWAP, TO_INTEGER, TOGGLE_QUALITY, TRACE, TYPED_ADD, TYPED_EQUALS, TYPED_LESS_THAN, TYPEOF, TYPEOF_BOOLEAN, TYPEOF_FUNCTION, TYPEOF_MOVIECLIP, TYPEOF_NULL, TYPEOF_NUMBER, TYPEOF_OBJECT, TYPEOF_STRING, TYPEOF_UNDEFINED, WAIT_FOR_FRAME, WAIT_FOR_FRAME_2, WITH
 
Constructor Summary
ActionWriter(TagWriter tagWriter, int flashVersion)
          Constructor for the ActionWriter 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)
          Pass through a blob of actions
 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 comment(java.lang.String comment)
          SWFActions interface
 void concat()
          SWFActions interface
 void convertToNumber()
          SWFActions interface
 void convertToString()
          SWFActions interface
 void decrement()
          SWFActions interface
 void defineLocal()
          SWFActions interface
 void defineLocalValue()
          SWFActions interface
 void deleteProperty()
          SWFActions interface
 void deleteThreadVars()
          SWFActions interface
 void divide()
          SWFActions interface
 void done()
          SWFActions 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
protected  void fixupBlocks(byte[] bytes2)
          Description of the Method
protected  void fixupJumps(byte[] bytes2)
          Description of the Method
protected  void fixupSkips(byte[] bytes2)
          Description of the Method
protected  void flushPushValues()
          Description of the Method
 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 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 lookup(int dictionaryIndex)
          SWFActions interface
 void lookupTable(java.lang.String[] values)
          SWFActions interface
 void modulo()
          SWFActions 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 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 setMember()
          SWFActions interface
 void setProperty()
          SWFActions interface
 void setTarget()
          SWFActions interface
 void setTarget(java.lang.String target)
          SWFActions interface
 void setVariable()
          SWFActions interface
 void shiftLeft()
          SWFActions interface
 void shiftRight()
          SWFActions interface
 void shiftRightUnsigned()
          SWFActions interface
 void start(int conditions)
          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 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 writeBytes(byte[] bytes)
          Description of the Method
protected  int writeCode(int code)
           
protected  void writeJump(java.lang.String label, int code)
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tagWriter

protected TagWriter tagWriter
Description of the Field


out

protected OutStream out
Description of the Field


bout

protected java.io.ByteArrayOutputStream bout
Description of the Field


count

protected int count
Description of the Field


flashVersion

protected int flashVersion
Description of the Field


pushValues

protected java.util.List pushValues
Description of the Field


labels

protected java.util.Hashtable labels
Description of the Field


jumps

protected java.util.List jumps
Description of the Field


skips

protected java.util.List skips
Description of the Field


blocks

protected java.util.List blocks
Description of the Field


blockStack

protected java.util.Stack blockStack
Description of the Field

Constructor Detail

ActionWriter

public ActionWriter(TagWriter tagWriter,
                    int flashVersion)
Constructor for the ActionWriter object

Parameters:
tagWriter - Description of the Parameter
flashVersion - Description of the Parameter
Method Detail

writeCode

protected int writeCode(int code)
                 throws java.io.IOException
Parameters:
code - Description of the Parameter
Returns:
the code count
Throws:
java.io.IOException - Description of the Exception

start

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

Specified by:
start in interface SWFActions
Parameters:
conditions - 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
Throws:
java.io.IOException - Description of the Exception

blob

public void blob(byte[] blob)
          throws java.io.IOException
Pass through a blob of actions

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

writeBytes

protected void writeBytes(byte[] bytes)
                   throws java.io.IOException
Description of the Method

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

done

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

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

fixupBlocks

protected void fixupBlocks(byte[] bytes2)
Description of the Method

Parameters:
bytes - Description of the Parameter

fixupJumps

protected void fixupJumps(byte[] bytes2)
Description of the Method

Parameters:
bytes - Description of the Parameter

fixupSkips

protected void fixupSkips(byte[] bytes2)
Description of the Method

Parameters:
bytes - Description of the Parameter

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

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

initArray

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

Specified by:
initArray in interface SWFActions
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

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

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

writeJump

protected void writeJump(java.lang.String label,
                         int code)
                  throws java.io.IOException
Description of the Method

Parameters:
label - Description of the Parameter
code - Description of the Parameter
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

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

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

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

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

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

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

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

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

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

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

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

flushPushValues

protected void flushPushValues()
                        throws java.io.IOException
Description of the Method

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

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