Skip navigation
Currently Being Moderated

Display Vector Graphic

Feb 12, 2012 6:38 AM

Hello,

 

I want to ask, how can I load vector graphic (SVG) and display it in flex?

 
Replies
  • Currently Being Moderated
    Feb 13, 2012 9:30 AM   in reply to Yue_Hong

    <s:Group horizontalCenter="0" verticalCenter="1">

    <s:Path width="18" height="17"
    <!-- Your SVG Code HERE -->
    data="M 10.44832,0.44040884 4.9476532,7.2532688 2.7932156,5.2952444 C 2.5906996,5.111038 2.2761063,5.1271282 2.0918999,5.3285398 l 0,0 -1.74108278,1.9164111 C 0.16716569,7.446357 0.18159144,7.7615055 0.38410788,7.9457119 l 0,0 4.60571342,4.1873651 c 0.202516,0.183096 0.5071223,0.159239 0.6791222,-0.05326 l 0,0 1.6234569,-2.025161 c 0.00333,-0.0033 0.00333,-0.0072 0.0061,-0.0122 l 0,0 5.9373236,-7.351063 c 0.172002,-0.2125031 0.138156,-0.5270964 -0.0749,-0.6985414 l 0,0 -2.014063,-1.62734086 c -0.09155,-0.0732438 -0.201406,-0.1093082 -0.311263,-0.1093082 l 0,0 c -0.144814,0 -0.289072,0.062696 -0.387278,0.1842063"
    horizontalCenter="0" verticalCenter="-1">
    <s:fill>
    <s:SolidColor color="0x050505"/>
    </s:fill>
    </s:Path>

    </s:Group>

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points