AS3SVGRenderer is a library toÂ render SVG files. Â It parses and translates svg elements to Flash display objects, rendering it and allowing the interaction with the output. The libraryÂ supports basic shapes and paths, as well as texts, right-to-left scripts, subscript, superscript.
It also has three text rendering engines (TextField, TLF, FTE), supporting CFF and non-CFF fonts. The lib hasÂ coordinates system rules, transformations and units, allows the use of masking and clipping, filling, strokes, gradients and marker symbols. It also supports basic document structure (g, defs, symbol, use, image). It’s possible to use filters asÂ ColorMatrix andÂ GaussianBlur. The rendered display objects keep the svg structure, so the developer can code mouse/touch interactions with svg elements.
ProcessExecutor.instance.initialize(stage); var svg:SVGDocument = new SVGDocument(); svg.load(urlStringOrUrlRequest); // or svg.parse(myLoadedSVGString); addChild(svg);