Skip navigation
beezinga
Currently Being Moderated

SWFLoader and Augmented Reality

Apr 28, 2013 1:22 PM

Tags: #flex #swfloader #augmented_reality #in2ar

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>

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points