public class ActionDecoder extends Object implements ActionConstants
kClipEventConstruct, kClipEventData, kClipEventDragOut, kClipEventDragOver, kClipEventEnterFrame, kClipEventInitialize, kClipEventKeyDown, kClipEventKeyPress, kClipEventKeyUp, kClipEventLoad, kClipEventMouseDown, kClipEventMouseMove, kClipEventMouseUp, kClipEventPress, kClipEventRelease, kClipEventReleaseOutside, kClipEventRollOut, kClipEventRollOver, kClipEventUnload, kHttpDontSend, kHttpLoadTarget, kHttpLoadVariables, kHttpMethodMask, kHttpSendUseGet, kHttpSendUsePost, kPushBooleanType, kPushConstant16Type, kPushConstant8Type, kPushDoubleType, kPushFloatType, kPushIntegerType, kPushNullType, kPushRegisterType, kPushStringType, kPushUndefinedType, kTryCatchRegisterFlag, kTryHasCatchFlag, kTryHasFinallyFlag, sactionAdd, sactionAdd2, sactionAnd, sactionAsciiToChar, sactionBitAnd, sactionBitLShift, sactionBitOr, sactionBitRShift, sactionBitURShift, sactionBitXor, sactionCall, sactionCallFunction, sactionCallMethod, sactionCastOp, sactionCharToAscii, sactionCloneSprite, sactionConstantPool, sactionDecrement, sactionDefineFunction, sactionDefineFunction2, sactionDefineLocal, sactionDefineLocal2, sactionDelete, sactionDelete2, sactionDivide, sactionEndDrag, sactionEnumerate, sactionEnumerate2, sactionEquals, sactionEquals2, sactionExtends, sactionGetMember, sactionGetProperty, sactionGetTime, sactionGetURL, sactionGetURL2, sactionGetVariable, sactionGotoFrame, sactionGotoFrame2, sactionGotoLabel, sactionGreater, sactionHalt, sactionHasLength, sactionIf, sactionImplementsOp, sactionIncrement, sactionInitArray, sactionInitObject, sactionInstanceOf, sactionJump, sactionLess, sactionLess2, sactionMBAsciiToChar, sactionMBCharToAscii, sactionMBStringExtract, sactionMBStringLength, sactionModulo, sactionMultiply, sactionNewMethod, sactionNewObject, sactionNextFrame, sactionNone, sactionNop, sactionNot, sactionOr, sactionPlay, sactionPop, sactionPrevFrame, sactionPush, sactionPushDuplicate, sactionQuickTime, sactionRandomNumber, sactionRemoveSprite, sactionReturn, sactionSetMember, sactionSetProperty, sactionSetTarget, sactionSetTarget2, sactionSetVariable, sactionStackSwap, sactionStartDrag, sactionStop, sactionStopSounds, sactionStoreRegister, sactionStrictEquals, sactionStrictMode, sactionStringAdd, sactionStringEquals, sactionStringExtract, sactionStringGreater, sactionStringLength, sactionStringLess, sactionSubtract, sactionTargetPath, sactionThrow, sactionToggleQuality, sactionToInteger, sactionToNumber, sactionToString, sactionTrace, sactionTry, sactionTypeOf, sactionWaitForFrame, sactionWaitForFrame2, sactionWith| Constructor and Description |
|---|
ActionDecoder(SwfDecoder reader) |
ActionDecoder(SwfDecoder reader,
DebugTable debug) |
| Modifier and Type | Method and Description |
|---|---|
ActionList |
decode(int length)
consume actions until length bytes are used up.
|
ActionList |
decode(int length,
boolean throwExceptions)
consume actions until length bytes are used up
|
ClipActions |
decodeClipActions(int length) |
void |
setKeepOffsets(boolean b) |
public ActionDecoder(SwfDecoder reader)
public ActionDecoder(SwfDecoder reader, DebugTable debug)
public void setKeepOffsets(boolean b)
public ActionList decode(int length) throws IOException
length - IOExceptionpublic ActionList decode(int length, boolean throwExceptions) throws IOException
length - throwExceptions - - if false exceptions will NOT be thrown. This is
used for decoding a series of opcodes which may not be complete on their own.IOExceptionpublic ClipActions decodeClipActions(int length) throws IOException
IOExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.