3 Replies Latest reply on Feb 3, 2009 11:31 AM by run,ryan!

    Set relavite position for a mask of canvas

      Right now I have a inner canvas within an outer canvas, and I set a mask for the inner canvas and set mask.x = 0; mask.y =0;
      now... the canvas container is in the center of the page but the mask is at the top-left corner of the page. When i tried to get the x,y coordinates of inner canvas, it's 0,0 .I guess canvas is using automatic layout for it's visible children but absolute layout for it's mask.
      So my question is, how to set the position of the mask relative to it's parent container -- canvas, or just center the musk in the canvas.