pt.tumba.parser.swf
Class TagWriter.ButtonActionWriter

java.lang.Object
  extended by pt.tumba.parser.swf.ActionWriter
      extended by pt.tumba.parser.swf.TagWriter.ButtonActionWriter
All Implemented Interfaces:
SWFActionCodes, SWFActions
Enclosing class:
TagWriter

protected static class TagWriter.ButtonActionWriter
extends ActionWriter

Description of the Class

Author:
unknown

Field Summary
protected  int lastPtr
          Description of the Field
protected  java.util.List offsets
          Description of the Field
protected  OutStream tagout
          Description of the Field
 
Fields inherited from class pt.tumba.parser.swf.ActionWriter
blocks, blockStack, bout, count, flashVersion, jumps, labels, out, pushValues, skips, tagWriter
 
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
TagWriter.ButtonActionWriter(TagWriter tagWriter, int flashVersion, java.util.List buttonRecs)
          Constructor for the ButtonActionWriter object
 
Method Summary
 void done()
          Description of the Method
 void start(int conditions)
          Description of the Method
 
Methods inherited from class pt.tumba.parser.swf.ActionWriter
add, and, asciiToChar, asciiToCharMB, bitAnd, bitOr, bitXor, blob, call, callFunction, callMethod, charMBToAscii, charToAscii, cloneSprite, comment, concat, convertToNumber, convertToString, decrement, defineLocal, defineLocalValue, deleteProperty, deleteThreadVars, divide, duplicate, end, endBlock, endDrag, enumerate, equals, fixupBlocks, fixupJumps, fixupSkips, flushPushValues, getMember, getProperty, getTargetPath, getTime, getURL, getURL, getVariable, gotoFrame, gotoFrame, gotoFrame, ifJump, increment, initArray, initObject, jump, jumpLabel, lessThan, lookup, lookupTable, modulo, multiply, newMethod, newObject, nextFrame, not, or, play, pop, prevFrame, push, push, push, push, push, pushNull, pushRegister, randomNumber, removeSprite, returnValue, setMember, setProperty, setTarget, setTarget, setVariable, shiftLeft, shiftRight, shiftRightUnsigned, startDrag, startFunction, startWith, stop, stopSounds, storeInRegister, stringEquals, stringLength, stringLengthMB, stringLessThan, substract, substring, substringMB, swap, toggleQuality, toInteger, trace, typedAdd, typedEquals, typedLessThan, typeOf, unknown, waitForFrame, waitForFrame, writeBytes, writeCode, writeJump
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

offsets

protected java.util.List offsets
Description of the Field


lastPtr

protected int lastPtr
Description of the Field


tagout

protected OutStream tagout
Description of the Field

Constructor Detail

TagWriter.ButtonActionWriter

public TagWriter.ButtonActionWriter(TagWriter tagWriter,
                                    int flashVersion,
                                    java.util.List buttonRecs)
                             throws java.io.IOException
Constructor for the ButtonActionWriter object

Parameters:
tagWriter - Description of the Parameter
flashVersion - Description of the Parameter
buttonRecs - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception
Method Detail

start

public void start(int conditions)
           throws java.io.IOException
Description of the Method

Specified by:
start in interface SWFActions
Overrides:
start in class ActionWriter
Parameters:
conditions - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

done

public void done()
          throws java.io.IOException
Description of the Method

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