i tried but the best thing i get is only showing the FPS counter without the web cam started,
i searched a lot but i still not able to do it
This is my code :
- Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
applicationComplete="windowedapplication1_applicationCompleteHandler(event)">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<fx:Script>
<![CDATA[
import mx.core.UIComponent;
import mx.events.FlexEvent;
protected function windowedapplication1_applicationCompleteHandler(event:FlexEvent):void
{
var ref:UIComponent=new UIComponent();
var fm:FLARManagerExampleLauncher =new FLARManagerExampleLauncher();
addElement(ref);
ref.addChild(fm);
}
]]>
</fx:Script>
</s:WindowedApplication>
Thanks to all