There are couple different ways:
- Embed SVG
- Draw using something like this:

var mySprite:Sprite = new Sprite();
mySprite.graphics.beginFill(0xFFCC00);
mySprite.graphics.drawCircle(30, 30, 30);
var label:TextField = new TextField();
label.text = "hello";
label.x = 20;
label.y = 20;
mySprite.addChild(label);
this.addChild(mySprite);


- Create component in Flash CS3 and use them in your Flex application.

--- In [email protected], "mirws" <[EMAIL PROTECTED]> wrote:
>
> i'm a newbie for flex...
> I would like to know how to create our own components for something
> like visual shape components e.g. circle, triangle etc...
> 
> thx
> 
> wira
>


Reply via email to