Tag: flex
Augmented Reality Tinkering
by Vince on Mar.02, 2010, under as3
Having been fiddling with an augmented reality tutorial for the last few evenings, I have finally got it working! 
I was following the video tutorial at gotoandlearn.com, but ran into a few snags – solutions for which I’m posting here to help anyone else struggling with it!
I used Flex Builder 3 to write the source (free trial here) and got the code libraries via Subversion, as described in the video.
Vector class not found – This is down to Flex exporting to Flash Player 9 by default. Fix this by following these articles: article 1 and article 2.
FLARRgbRaster_BitmapData expects 2 int parameters – Importing the FLARToolkit library from the trunk folder has the wrong class. I used the one from /FLARToolKit/branches/ver1_x_x/src.
Once those little problems are taken care of, you’re on your way!