Package tv.porst.swfretools.parser.structures

Examples of tv.porst.swfretools.parser.structures.ActionList


   */
  public static DoActionTag parse(final RecordHeader header, final SWFBinaryParser parser) throws SWFParserException {

    final List<Action> actions = ActionRecordParser.parse(parser, header.getNormalizedLength(), "DoAction::Actions");

    return new DoActionTag(header, new ActionList(actions));
  }
View Full Code Here


    final UINT16 length = parseUINT16(parser, 0x00006, fieldName + "::Length");
    final UINT16 size = parseUINT16(parser, 0x00006, fieldName + "::Size");

    final List<Action> actions = ActionRecordParser.parse(parser, size.value(), fieldName + "::Actions");

    return new ActionWith(actionCode, length, size, new ActionList(actions));
  }
View Full Code Here

    final List<Action> actions = ActionRecordParser.parse(parser, actionRecordSize, "DefineButton::Actions");

    final UINT8 actionEndFlag = parseUINT8(parser, 0x00006, "DefineButton::ActionEndFlag");

    return new DefineButtonTag(header, buttonId, new ButtonRecordList(characters), characterEndFlag, new ActionList(actions), actionEndFlag);
  }
View Full Code Here

    final UINT16 spriteId = parseUINT16(parser, 0x00006, "DoInitAction::SpriteId");

    final List<Action> actions = ActionRecordParser.parse(parser, header.getNormalizedLength() - 2, "DoInitAction::Actions");

    return new DoInitActionTag(header, spriteId, new ActionList(actions));
  }
View Full Code Here

    final List<Action> code = ActionRecordParser.parse(parser, codeSize.value(), fieldName + "::Code");

    return new ActionDefineFunction2(actionCode, length, functionName, numParams, registerCount, preloadParentFlag,
        preloadRootFlag, suppressSuperFlag, preloadSuperFlag, suppressArgumentsFlag,
        preloadArgumentsFlag, suppressThisFlag, preloadThisFlag, reserved, preloadGlobalFlag,
        new RegisterParamList(registerParams), codeSize, new ActionList(code));
  }
View Full Code Here

    final List<Action> catchBody = ActionRecordParser.parse(parser, catchSize.value(), fieldName + "::CatchBody");
    final List<Action> finallyBody = ActionRecordParser.parse(parser, finallySize.value(), fieldName + "::FinallyBody");

    return new ActionTry(actionCode, length, reserved, catchInRegisterFlag, finallyBlockFlag,
        catchBlockFlag, trySize, catchSize, finallySize, catchName, catchRegister,
        new ActionList(tryBody), new ActionList(catchBody), new ActionList(finallyBody));
  }
View Full Code Here

    }

    final UINT16 codeSize = parseUINT16(parser, 0x00006, fieldName + "::CodeSize");
    final List<Action> code = ActionRecordParser.parse(parser, codeSize.value(), fieldName + "::Code");

    return new ActionDefineFunction(actionCode, length, functionName, numParams, new StringList(params), codeSize, new ActionList(code));
  }
View Full Code Here

TOP

Related Classes of tv.porst.swfretools.parser.structures.ActionList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.