This is how to use flare.flex.FlareVis object.
<?xml version=”1.0″ encoding=”utf-8″?>
<mx:Application xmlns:mx=”http://www.adobe.com/2006/mxml” backgroundColor=”0×111111″
layout=”absolute” xmlns:local=”*” xmlns:flex=”flare.flex.*”
creationComplete=”init()”>
<mx:Script>
<![CDATA[
private function init():void
{
var spr:Sprite = new Sprite();
spr.graphics.beginFill(0x000000,1);
spr.graphics.drawCircle(100,100,5);
spr.graphics.drawCircle(200,100,10);
spr.graphics.endFill();
fvis.visualization.addChild(spr);
//You should be able to see two black circles on white background.
//You can access the visualization object via "fvis.visualization"
//FlareVis is a class extends from Canvas that contains the visualization object inside
}
]]>
</mx:Script>
<flex:FlareVis id=”fvis” backgroundColor=”0xffffff”/>
</mx:Application>