Package tv.porst.swfretools.parser.structures

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


   * @throws SWFParserException Thrown if parsing the tag failed.
   */
  public static Tag parse(final RecordHeader header, final SWFBinaryParser parser) throws SWFParserException {

    final UINT16 buttonId = parseUINT16(parser, 0x00006, "DefineButtonCxform::ButtonId");
    final CxForm buttonColorTransform = CxFormParser.parse(parser, "DefineButtonCxform::ButtonColorTransform");

    return new DefineButtonCxformTag(header, buttonId, buttonColorTransform);
  }
View Full Code Here


  public static PlaceObjectTag parse(final SWFBinaryParser parser, final RecordHeader header) throws SWFParserException {

    final UINT16 characterId = parseUINT16(parser, 0x00006, "PlaceObject::CharacterId");
    final UINT16 depth = parseUINT16(parser, 0x00006, "PlaceObject::Depth");
    final Matrix matrix = MatrixParser.parse(parser, "PlaceObject::Matrix");
    final CxForm colorTransform = CxFormParser.parse(parser, "PlaceObject::CxForm");

    return new PlaceObjectTag(header, characterId, depth, matrix, colorTransform);
  }
View Full Code Here

TOP

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

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.