Package tv.porst.swfretools.parser.tags

Examples of tv.porst.swfretools.parser.tags.DoABCTag


      final RawABCTag ctag = (RawABCTag) tag;

      addNode("ABCData", ctag.getAbcData());
    }
    else if (tag instanceof DoABCTag) {
      final DoABCTag ctag = (DoABCTag) tag;

      addNode("Name", ctag.getName());
      addNode("Flags", ctag.getFlags());
      addNode("ABCData", ctag.getAbcData());
    }
  }
View Full Code Here


    final List<AS3Code> codeFragments = new ArrayList<AS3Code>();

    for (final Tag tag : file.getTags()) {

      if (tag instanceof DoABCTag) {
        final DoABCTag dtag = (DoABCTag) tag;

        for (final MethodBody methodBody : dtag.getAbcData().getMethodBodies()) {
          codeFragments.add(methodBody.getCode());
        }
      }
      else if (tag instanceof RawABCTag) {
        final RawABCTag dtag = (RawABCTag) tag;

        for (final MethodBody methodBody : dtag.getAbcData().getMethodBodies()) {
          codeFragments.add(methodBody.getCode());
        }
      }
    }
View Full Code Here

TOP

Related Classes of tv.porst.swfretools.parser.tags.DoABCTag

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.