IIRC, SVG is only supported when embedded.

In FlexJS, we might have an SVG loader some day.

-Alex

On 4/29/16, 9:34 AM, "mark goldin" <[email protected]> wrote:

>I am trying to load an svg image.
>var request:URLRequest = new URLRequest('image.svg');
>var imageLoader:Loader = new Loader();
>var loaderContext:LoaderContext = new LoaderContext();
>loaderContext.checkPolicyFile = true;
>imageLoader.load(request,loaderContext);
>
>in the Console I see this:
>[SWF] /assets/casemanagement/closed.svg - 0 bytes after decompression
>
>and it's just keep popping up.
>
>Can we load svg images into Flex application?
>
>Thanks

Reply via email to