1 Reply Latest reply on May 15, 2007 12:04 PM by ashar2005


      Can anyone tell me how I can center a Canvas?
      Thank you
        • 1. Re: Flex
          ashar2005 Level 1
          The canvas will get centered by using verticalAlign and horizontalAlign on its parent container.

          <mx:VBox verticalAlign="middle" horizontalAlign="center" width="100%" height="100%">