0 Replies Latest reply on Oct 14, 2009 6:06 AM by danny_beard

    Flex SDK incorrectly handling projection center


      I'm not sure if anyone else is noticing this, but I've recently had trouble with the projection center of my Flex projects. According to the documentation - the default projection center is supposed to be the center of the stage. However, my flex apps by default are using (0,0) as the projection center. I'm having to manually set it as the center using:


      var per:PerspectiveProjection = new PerspectiveProjection();
      var pt:Point = new Point(this.stage.width/2,this.stage.height/2);
      per.projectionCenter = pt;
      this.transform.perspectiveProjection = per;


      This works, but I'm not sure why it's not this way by default - this is not a problem using Flash CS4, only using the flex sdk. What's weird for me, is I don't remember this being an issue in the past - I'm running on a new computer, with new installs of both Flex Builder 3 and Flash Builder 4 (Both exhibit this behavior along with SDK 3.2, 3.3, and 3.4)


      I feel like I must be missing something easy here - any ideas?