If you have a SWF with symbols, unless you need to control scaling or use 
styles or run script, it should be more efficient to just embed the symbol.  
The amount of code required to make the same graphics calls is usually larger.

Otherwise, check the whole FXG->SWF workflow in Flex 4.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: [email protected] [mailto:[email protected]] On Behalf 
Of flexaustin
Sent: Sunday, September 20, 2009 9:02 PM
To: [email protected]
Subject: [flexcoders] Graphics Layer



Is there a way in Flex 3 or Flex 4 to draw items to a sprite graphics layer 
without the manual lineTo and curveTo way.

I know with mxml you can do this easily with I think its SVG, but can this be 
done with actionscript and the graphic draw methods? Is there a way to put in 
the SVG coord in actionscript?

I have swf icons I am embedding into my project, but would be better if I could 
draw them in my sprites.

TIA, J

Reply via email to