[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with svg

Does your FXG version of the graphic have a Path element? It should look like this:

<s:Path winding="nonZero" data="M19.5103 7.20996C19.0703 7.20996 18.7202 ... 6.76025Z">
      <s:SolidColor id="fill" color="{color}"/>

If the content of your SVG looks like this:

<image width="100" height="100" xlink:href="data:image/png;base64,...">

Then it's just an embedded bitmap and won't scale beyond it's width and height without pixelating. And any resizing other than the actual size will likely result in loss of quality however small.

Here is more info from Adobe: Converting FXG elements to MXML graphics <> - this might help narrow your issue. We use a lot of FXG graphics that are true vectors so size is never an issue on any device and any resolution. But we use Adobe Illustrator CS6 (old version that still supports export to FXG) to directly export AI to FXG and then we convert the FXG to MXML so we can data bind properties like color. 

Here's a simple tool to convert to MXML:



On Feb 12, 2018, at 9:06 AM, chris_flex <ck@xxxxxxxxxxxxxxxxxx> wrote:

Hot to get an SVG smoothly scaled? What am I doing wrong?

My test - the svg and the fxg are looking exactly the same in illustrator:

leads to ...


Sent from: