0 Replies Latest reply on Apr 28, 2013 1:22 PM by beezinga

    SWFLoader and Augmented Reality

    beezinga Level 1

      Hi. I created a mobile Actionscript project and have IN2AR augmented reality working with it. I complied a .swf file, and I used the SWFLoader to bring it into a Flex mobile project in FlashBuilder. However, when I do this, the captured video from the camera does not display on screen like it did in the original project. My trace statements show that the test image is being detected for augmented reality, but nothing is displaying on screen in the Flex app other than the IN2AR logo and bottom bar that shows something has been detected. Any ideas for solutions?

       

      This is my code for the Flex app:

       

      <?xml version="1.0" encoding="utf-8"?>

      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"

                                       xmlns:s="library://ns.adobe.com/flex/spark"

                                       xmlns:mx="library://ns.adobe.com/flex/mx"

                                       minWidth="1024" minHeight="600">

       

                <mx:SWFLoader id="loader1" source="../ar/AReality.swf"/>

       

      </s:Application>