Package flash.swf.types

Examples of flash.swf.types.ButtonRecord


      out.print(" trackAsMenu='" + tag.trackAsMenu + "'");
      end();
     
      for (int i = 0; i < tag.buttonRecords.length; i++)
      {
        ButtonRecord record = tag.buttonRecords[i];
        indent();
        out.println("<buttonRecord " +
              "idref='" + idRef(record.characterRef) + "' " +
              "depth='" + record.placeDepth + "' " +
              "matrix='" + record.placeMatrix + "' " +
              "states='" + record.getFlags() + "'/>");
        // todo print optional cxforma
      }
     
      // print conditional actions
      if (tag.condActions.length > 0 && showActions)
View Full Code Here


        int actionOffset = r.readUI16();

        // read button data
        ArrayList<Object> list = new ArrayList<Object>(5);
        ButtonRecord record;
        while ((record = decodeButtonRecord(t.code)) != null)
        {
            list.add(record);
        }
View Full Code Here

        DefineButton t;
        t = new DefineButton(stagDefineButton);
        int id = r.readUI16();

        ArrayList<ButtonRecord> list = new ArrayList<ButtonRecord>();
        ButtonRecord record;
        do
        {
            record = decodeButtonRecord(t.code);
            if (record != null)
            {
View Full Code Here

    }

    private ButtonRecord decodeButtonRecord(int type) throws IOException
    {
      boolean hasFilterList = false, hasBlendMode = false;
        ButtonRecord b = new ButtonRecord();

        r.syncBits();

        int reserved;
        if (type == stagDefineButton2)
View Full Code Here

      out.print(" trackAsMenu='" + tag.trackAsMenu + "'");
      end();
     
      for (int i = 0; i < tag.buttonRecords.length; i++)
      {
        ButtonRecord record = tag.buttonRecords[i];
        indent();
        out.println("<buttonRecord " +
              "idref='" + idRef(record.characterRef) + "' " +
              "depth='" + record.placeDepth + "' " +
              "matrix='" + record.placeMatrix + "' " +
              "states='" + record.getFlags() + "'/>");
        // todo print optional cxforma
      }
     
      // print conditional actions
      if (tag.condActions.length > 0 && showActions)
View Full Code Here

        int actionOffset = r.readUI16();

        // read button data
        ArrayList<Object> list = new ArrayList<Object>(5);
        ButtonRecord record;
        while ((record = decodeButtonRecord(t.code)) != null)
        {
            list.add(record);
        }
View Full Code Here

        DefineButton t;
        t = new DefineButton(stagDefineButton);
        int id = r.readUI16();

        ArrayList<ButtonRecord> list = new ArrayList<ButtonRecord>();
        ButtonRecord record;
        do
        {
            record = decodeButtonRecord(t.code);
            if (record != null)
            {
View Full Code Here

    }

    private ButtonRecord decodeButtonRecord(int type) throws IOException
    {
      boolean hasFilterList = false, hasBlendMode = false;
        ButtonRecord b = new ButtonRecord();

        r.syncBits();

        int reserved;
        if (type == stagDefineButton2)
View Full Code Here

TOP

Related Classes of flash.swf.types.ButtonRecord

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.