Package flash.swf.tags

Examples of flash.swf.tags.PlaceObject


        DefineShape ds3 = ImageShapeBuilder.buildImage(defineBits, width, height);
        defineTags.defineShape3(ds3);
        applyBounds(ds3.bounds.xMin, ds3.bounds.yMin, ds3.bounds.xMax, ds3.bounds.yMax);

                PlaceObject po2 = new PlaceObject(ds3, depth++);
                po2.setMatrix(MatrixBuilder.build(graphicContext.getTransform()));
                po2.setName(name);

        defineTags.placeObject2(po2);
      }
      finally
      {
View Full Code Here


    applyBounds(ds3.bounds.xMin + matrix.translateX,
        ds3.bounds.yMin + matrix.translateY,
        ds3.bounds.xMax + matrix.translateX,
        ds3.bounds.yMax + matrix.translateY);

    PlaceObject po2 = new PlaceObject(Tag.stagPlaceObject2);
    po2.setMatrix(matrix);
    po2.setRef(ds3);
        po2.depth = depth++;

    if (isGradient)
      graphicContext.setPen(oldPen);
View Full Code Here

      DefineShape ds3 = ImageShapeBuilder.buildImage(defineBits, defineBits.width, defineBits.height);
      defineTags.defineShape3(ds3);
      applyBounds(ds3.bounds.xMin, ds3.bounds.yMin, ds3.bounds.xMax, ds3.bounds.yMax);

      PlaceObject po2 = new PlaceObject(Tag.stagPlaceObject2);
      po2.setMatrix(MatrixBuilder.build(at));
      po2.setRef(ds3);
      po2.depth = depth++;

      defineTags.placeObject2(po2);
    }
View Full Code Here

      DefineShape ds3 = ImageShapeBuilder.buildImage(defineBits, defineBits.width, defineBits.height);
      defineTags.defineShape3(ds3);
            applyBounds(ds3.bounds.xMin, ds3.bounds.yMin, ds3.bounds.xMax, ds3.bounds.yMax);

      PlaceObject po2 = new PlaceObject(ds3, depth++);
            po2.setMatrix(MatrixBuilder.build(graphicContext.getTransform()));
            po2.setName(name);

      defineTags.placeObject2(po2);
    }
  }
View Full Code Here

        linestyles = defineShape.shapeWithStyle.linestyles;
    }

    public void PlaceObject2(Attributes attributes) throws SAXParseException
    {
        PlaceObject tag = new PlaceObject(stagPlaceObject2);
        tag.depth = parseInt(getAttribute(attributes, "depth"));
        if (hasAttribute(attributes, "className"))
        {
            tag.setClassName(getAttribute(attributes, "className"));
        }
        if (hasAttribute(attributes, "hasImage"))
        {
            tag.setHasImage(getAttribute(attributes, "hasImage").equals("true"));
        }
        if (hasAttribute(attributes, "idref"))
        {
            int idref = parseInt(getAttribute(attributes, "idref"));
            tag.setRef(findCharacter(idref));
        }
        if (hasAttribute(attributes, "name"))
        {
            tag.setName(getAttribute(attributes, "name"));
        }
        if (hasAttribute(attributes, "clipDepth"))
        {
            tag.setClipDepth(parseInt(getAttribute(attributes, "clipDepth")));
        }
        if (hasAttribute(attributes, "ratio"))
        {
            tag.setRatio(parseInt(getAttribute(attributes, "ratio")));
        }
        if (hasAttribute(attributes, "cxform"))
        {
            tag.setCxform(parseCXForm(getAttribute(attributes, "cxform")));
        }
        if (hasAttribute(attributes, "matrix"))
        {
            tag.setMatrix(parseMatrix(getAttribute(attributes, "matrix")));
        }

        stack.push(tag);
        text = new StringBuilder();
    }
View Full Code Here

        text = new StringBuilder();
    }

    public void PlaceObject2() throws SAXException
    {
        PlaceObject tag = (PlaceObject)stack.pop();
        //try
        //{
            //String code = text.toString();
            text = null;
View Full Code Here

    applyBounds(ds3.bounds.xMin + matrix.translateX,
        ds3.bounds.yMin + matrix.translateY,
        ds3.bounds.xMax + matrix.translateX,
        ds3.bounds.yMax + matrix.translateY);

    PlaceObject po2 = new PlaceObject(Tag.stagPlaceObject2);
    po2.setMatrix(matrix);
    po2.setRef(ds3);
        po2.depth = depth++;

    if (isGradient)
      graphicContext.setPen(oldPen);
View Full Code Here

      DefineShape ds3 = ImageShapeBuilder.buildImage(defineBits, defineBits.width, defineBits.height);
      defineTags.defineShape3(ds3);
      applyBounds(ds3.bounds.xMin, ds3.bounds.yMin, ds3.bounds.xMax, ds3.bounds.yMax);

      PlaceObject po2 = new PlaceObject(Tag.stagPlaceObject2);
      po2.setMatrix(MatrixBuilder.build(at));
      po2.setRef(ds3);
      po2.depth = depth++;

      defineTags.placeObject2(po2);
    }
View Full Code Here

      DefineShape ds3 = ImageShapeBuilder.buildImage(defineBits, defineBits.width, defineBits.height);
      defineTags.defineShape3(ds3);
            applyBounds(ds3.bounds.xMin, ds3.bounds.yMin, ds3.bounds.xMax, ds3.bounds.yMax);

      PlaceObject po2 = new PlaceObject(ds3, depth++);
            po2.setMatrix(MatrixBuilder.build(graphicContext.getTransform()));
            po2.setName(name);

      defineTags.placeObject2(po2);
    }
  }
View Full Code Here

        DefineShape ds3 = ImageShapeBuilder.buildImage(defineBits, width, height);
        defineTags.defineShape3(ds3);
        applyBounds(ds3.bounds.xMin, ds3.bounds.yMin, ds3.bounds.xMax, ds3.bounds.yMax);

                PlaceObject po2 = new PlaceObject(ds3, depth++);
                po2.setMatrix(MatrixBuilder.build(graphicContext.getTransform()));
                po2.setName(name);

        defineTags.placeObject2(po2);
      }
      finally
      {
View Full Code Here

TOP

Related Classes of flash.swf.tags.PlaceObject

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.