1 Reply Latest reply on Feb 13, 2012 9:30 AM by eduardosavoine

    Display Vector Graphic

    Yue_Hong Level 1

      Hello,

       

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

        • 1. Re: Display Vector Graphic
          eduardosavoine

          <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>