1 Reply Latest reply on Apr 3, 2007 6:28 AM by peterent

    how to draw shapes in mxml?

    shajahan_gani Level 1
      can anyone tell me how to draw shapes in mxml or if i've built a class to draw shapes tell me how to integrate that to a panel container.
        • 1. Re: how to draw shapes in mxml?
          peterent Level 2
          There are a number of ways to do this but in any way you go you'll need the use of the flash.display.Graphics class. Read up on that. Nearly everything has a graphics property and it is that which you use to do the drawing.

          Some people create a Sprite and draw into that. Others just use a Canvas. You'll have to decide for yourself which is best.