Adobe AIR example

Discussion about FLARManager, the ightweight framework that makes it easier to build augmented reality applications for Flash

Moderator: ericsoco

Adobe AIR example

Postby freeD » Tue May 24, 2011 5:26 am

Can any one plese provide an Adobe AIR example,

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
freeD
 
Posts: 1
Joined: Tue May 24, 2011 5:21 am

Return to FLARManager

Who is online

Users browsing this forum: No registered users and 1 guest

cron