Examples of PlaceObject


Examples of com.threerings.crowd.data.PlaceObject

    /** Called when the user selects a lobby from the lobby list. */
    protected void enterLobby (Lobby lobby)
    {
        // make sure we're not already in this lobby
        PlaceObject plobj = _ctx.getLocationDirector().getPlaceObject();
        if (plobj != null && plobj.getOid() == lobby.placeOid) {
            return;
        }

        // otherwise request that we go there
        _ctx.getLocationDirector().moveTo(lobby.placeOid);
View Full Code Here

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

Examples of flash.swf.tags.PlaceObject

    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

Examples of flash.swf.tags.PlaceObject

      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

Examples of flash.swf.tags.PlaceObject

      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

Examples of flash.swf.tags.PlaceObject

        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

Examples of flash.swf.tags.PlaceObject

        text = new StringBuilder();
    }

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

Examples of flash.swf.tags.PlaceObject

    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

Examples of flash.swf.tags.PlaceObject

      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

Examples of flash.swf.tags.PlaceObject

      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
TOP
Copyright © 2018 www.massapi.com. 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.