1 Reply Latest reply on Jun 7, 2007 2:47 PM by Leoš

    Basic Shape

    pythonluv
      Hi,

      I am bit of new to flex and wondered how you create basic shape in the flex
      for example, I would like to draw shape such as circle, line in the flex application.

      For example,
      <mx:application>
      <myComponent:myCircle x="3" y="3" r="3">
      </mx:application>

      I was looking at the actionscript 3 and there was a flash.Shape which allows you to draw circle.
      Somehow, It wasn't working since I didn't implement IUIComponent.

      Should I always use IUIComponent to draw such a basic Shape as line, rectangle, circle ?
      or is there any easier way to create component ?
      or is there any mx compoenent to allow draw those basic shapes?

      Any tip would be appreciated !


      thanks