Hi

  i think you should go for drawing curves instead of lines only, this link
may help you

http://livedocs.adobe.com/flex/3/html/help.html?content=Drawing_Vector_Graphics_4.html


Thanks
Krishna

On Tue, Nov 30, 2010 at 12:14 PM, Arindam Mojumder <
[email protected]> wrote:

> How can I draw a heart shape with this process???
>
> var square:Sprite = new Sprite();
> addChild(square);
> square.graphics.lineStyle(3,0x00ff00);
> square.graphics.beginFill(0x0000FF);
> square.graphics.drawRect(0,0,100,100);
> square.graphics.endFill();
> square.x = stage.stageWidth/2-square.width/2;
> square.y = stage.stageHeight/2-square.height/2;
>
>
>
>
> --
> *Arindam Mojumder*
> *
> *
>
> Visit My Flickr  <http://www.flickr.com/photos/arindam-mojumder/sets/>
> <http://www.flickr.com/photos/arindam-mojumder/sets/>Visit My Facebook
> <http://www.facebook.com/Arinda.Mojumder>
>  <http://twitter.com/arindam_arindam>Visit My Twitter 
> Account<http://twitter.com/arindam_arindam>
>  <http://scripto-mania.blogspot.com/>Visit My 
> Gblogger<http://scripto-mania.blogspot.com/>
>  <http://nilbristi.wordpress.com/>Visit My Wordpress 
> Blog<http://nilbristi.wordpress.com>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to