Inside FLARManager: Getting Started
<– Inside FLARManager | 2D Marker Tracking –>
Quickstart
This quickstart guide requires that you have Flex Builder 3.2+ and a webcam. for information on other environments, read through the information below Quickstart.
FLARManager is bundled with a Flex Builder project. To import the project into Flex Builder follow these steps:
- Download the FLARManager distro from here.
- In Flash Builder’s top menu bar, go to File>Import>Flex Project.

- Select ‘Project folder’ and Browse… to the folder you unzipped the download / checked out the source into; this folder should contain the ‘resources’ and ‘src’ folders, as well as the Flash Builder project files (these are hidden files on OSX).
- Uncheck ‘Use default location’ — the path you should use is the same path of ‘Project folder’.

- Click Finish.
- Take a look at your Problems window (if it’s not visible, select Windows>Problems from the menu bar). If you see anything about ‘Cannot create HTML wrapper…’, right/ctrl-click on that error and select Recreate HTML Templates. Flash Builder will rebuild the project and create your html-template folder.

- Then, run the project via Run>Debug>FLARManagerExampleLauncher.
The default tutorial is FLARManagerExample_Collada.as which will display an animated model resting on your marker. Wait — what marker?? Ah yes, we need to print out the marker to hold in front of the camera. You can find the markers in the FLARManager bundle, inside of /resources/flarToolkit/patterns/. Print any of the .png files within, and hold one in front of your webcam.
If you don’t see something like this:

please post a comment here, and we’ll try to help out.
Note: if you’re using flare*tracker or flare*NFT, you must have the .lic license files in the same folder as your swfs. Evaluation versions of the .swc and .lic files for flare*tracker and flare*NFT can be downloaded from Imagination’s site. With the evaluation versions, tracking stops functioning after one minute. Also, you must include the flare* .swc files in the /libs/ folder in order to compile. If you see any errors referring to CLibInit, the flare* .swc files are not on your build path.
The following is a loose list of resources we’ll need to build and compile FLARManager applications.
Editor and compiler
FLARManager runs in Flash Player version 10 or greater. This means we need a text editor and compiler that is able to target Flash Player 10.
I prefer Flash Builder.
NOTE: To target Flash Player 10 with Flex Builder, we must have version 3.2 or higher. More information here. Flash Builder targets Flash Player 10 by default.
Alternatives to Flex Builder/Flash Builder include:
- Flash CS4/CS5
- Eclipse, with the Flex SDK
- FDT
- FlashDevelop
FLARManager, tracking libraries, and 3D frameworks
The FLARManager distribution currently includes the following source and libraries:
- FLARManager source
- flare* and flare*NFT demo SWCs
- FLARToolkit source
- Alternativa3D (as a SWC)
- Away3D (SWC)
- Away3D Lite (SWC)
- Papervision3D (SWC)
- Sandy3D (SWC)
You can download everything from this page.
Please be sure to read the information about licensing. FLARManager is free for non-commercial use, and commercial-use licenses are available for a fee via ARToolworks and other resellers.
Use of these tracking libraries and 3D frameworks is subject to each of their licenses.
Alternatively, if you want to get the freshest versions of all the (open-source) libraries, you can do so from the following links. You’ll need an SVN client to access the latest revisions.
(flare*tracker/NFT and Alternativa3D are not open-source.)
SVN client
If you want to get the latest versions of FLARManager and the tracking library and 3D framework of your choice, you’ll need an SVN client. Here are some options:
OSX
Windows
- Tortoise
- Subversion
- Subclipse (for use with Eclipse)






Hey Eric, newb question for you here... I'm missing something
Alpay Kasal | 2009/07/01 | 1:04 pmHey Eric, newb question for you here… I’m missing something basic, not getting very far:
I downloaded your zip, created an project in cs4 and added FLARManagerExample_2D.as as the document class (it’s in the same folder)… set my document up for 640x480xffffff to match your flex project… I publish to flash10/as3 and I got nothing but a white player window. Any suggestions?
Thanks so much…
duh, nevermind.. i always figure these things out IMMEDIATELY after
Alpay Kasal | 2009/07/01 | 1:21 pmduh, nevermind.. i always figure these things out IMMEDIATELY after asking for help… I left the “.as” on the class name. sorry for that. thanks again for your work, digging into it now, will be sure to post my results when i have something supercool working.
[...] walkthroughs can be found in the Inside FLARManager section
Techwave » Blog Archive » FLARToolkit and FLARManager | 2009/07/22 | 10:04 am[...] walkthroughs can be found in the Inside FLARManager section of my blog. The tutorials move from a quickstart through simple 2D and 3D implementations of FLARManager. This article will provide a more detailed [...]
Hi again Eric, was trying the away3D version, and I
benjamin | 2009/07/22 | 3:44 pmHi again Eric,
was trying the away3D version, and I had to had import the flash.geom.Matrix3D in the FLARCamera3D ( libspark.flartoolkit.away3d library…) at that point I had a problem with override…so Mr Watson ?!
the reason could only be : the libspark.flartoolkit in the folder only support away3D for fp9 (latest 2.3.3), but not the 3.3.3, for fp10..
or you say that the FlarManager run from fp10 to later.
I can take time and help you correct this if you want…
you must have my email above.
definitivly, that's it (the flartoolkit for away is for the
benjamin | 2009/07/22 | 4:33 pmdefinitivly, that’s it (the flartoolkit for away is for the fp9 branch only )
we can also fallow that conversation in the away3D google group, I’m ben.
ok, fixed. where can I send it to you ?
benjamin | 2009/07/23 | 2:17 amok, fixed.
where can I send it to you ?
Hi! I've installed FLARManager, but when I launch "FLARManagerExampleLauncher.as", there are
Kael | 2009/07/23 | 5:39 amHi!
I’ve installed FLARManager, but when I launch “FLARManagerExampleLauncher.as”, there are 2 errors (in french -’cause I’m french-, but I translate it in english):
VerifyError: Error #1033: Le type de l'entrée Cpool 14 est incorrect.-> translate: The type of the entrance(entry) Cpool 14 is incorrect.
and
ReferenceError: Error #1065: La variable FLARManagerExampleLauncher n'est pas définie.-> translate: The variable FLARManagerExampleLauncher is not defined.
Finally, the player appears, but it’s empty.
Could you help me, please?
@kael -- are you sure Cpool can't be translated into
ericsoco | 2009/07/23 | 9:16 am@kael — are you sure Cpool can’t be translated into english? there’s nothing in the code called Cpool, not sure what that is.
just a wild guess, but are you sure you’re targeting flash player 10?
[...] transmote speaks… » Inside FLARManager: Getting StartedFramework de Realidad
MonkyMotion » Bookmarks del 21 de Julio al 23 de Julio | 2009/07/23 | 1:02 pm[...] transmote speaks… » Inside FLARManager: Getting StartedFramework de Realidad Aumentada para Flex Builder. [...]
Hi Eric - I downloaded your zip and I'm trying
Matt | 2009/07/23 | 8:55 pmHi Eric – I downloaded your zip and I’m trying to get it built using FlashDevelop. I got the project loaded ok and the libraries added but when I build, it can’t find __AS3__.vec.Vector, flash.geom.Matrix3D and flash.geom.Vector3D ( I can find flash.geom via auto complete but it only sees colorTransform, Matrix, Point, Rectangle and Transform). Any ideas on what I could be missing for these classes?
Thanks!
oops! Figured it out - I just had to set
Matt | 2009/07/23 | 9:01 pmoops! Figured it out – I just had to set it to target flashplayer10.
@ericsoco: I don't know what "Cpool" means, in french or in
Kael | 2009/07/24 | 12:32 am@ericsoco:
I don’t know what “Cpool” means, in french or in english. :\
For flash player 10, when I’ve installed Flex Builder 3.0 for the first time, there was flash player 9, but now I’ve installed flash player 10 since few months, and when I run FLARManagareExample Launcher.as, it’s “Adobe Flash Player 9″ which appears. :O
How can I do?
@kael -- sounds like you might need to reinstall flash
ericsoco | 2009/07/25 | 2:41 pm@kael — sounds like you might need to reinstall flash player.
uninstall here:
http://kb2.adobe.com/cps/141/tn_14157.html
reinstall, using the flash player 10 debug version.
http://www.adobe.com/support/flashplayer/downloads.html
hope that helps,
eric
I am getting a compile with no errors but I
zeedub | 2009/07/26 | 8:40 amI am getting a compile with no errors but I am just getting a empty white screen in FP10, any help would be appreciated thnx.
1084: Syntax error: expecting identifier before lessthan. private var matrixHistory:Vector.; is
zeedub | 2009/07/26 | 8:57 am1084: Syntax error: expecting identifier before lessthan. private var matrixHistory:Vector.;
is error I am receiving on compile
@zeedub: you need to target flash player 10. that
ericsoco | 2009/07/26 | 9:17 am@zeedub: you need to target flash player 10. that compile error shows that FP10′s postfix type parameter syntax is not recognized by your (FP9) compiler.
@ericsoco thnx much, I switched sdks's and all good now.
zeedub | 2009/07/26 | 11:27 am@ericsoco thnx much, I switched sdks’s and all good now.
@ericsoco -> :O!!! I've uninstalled flash player. I've donwloaded flash player 10. But when
Kael | 2009/07/27 | 1:03 am@ericsoco ->
:O!!!
I’ve uninstalled flash player.
I’ve donwloaded flash player 10.
But when I launch, it’s always “Adobe Flash Player 9″ which appears!
Heeelp!
@kael -- i'm afraid i don't know how to help
ericsoco | 2009/07/27 | 9:38 am@kael — i’m afraid i don’t know how to help you. try posting your trouble on a flash/actionscript forum, like kirupa or ultrashock, maybe someone there can help.
in the meantime, you can download FLARManager v0.1 for FP9…but it’s quite old and has much less functionality than the current version
Okay. Thanks for your help! ;)
Kael | 2009/07/28 | 12:12 amOkay.
Thanks for your help!
Hi, fine tool and a very good summary of needed libraries
Petit | 2009/07/28 | 3:04 pmHi,
fine tool and a very good summary of needed libraries and how to get them.
Great blog post about the manager and its dependencies.
Thanks Eric!
Hi, FLARManager v0.5 work in Flash CS4???
cristian | 2009/08/04 | 12:15 pmHi, FLARManager v0.5 work in Flash CS4???
@cristian -- sure, FLARManager works in CS4. just set
ericsoco | 2009/08/05 | 1:33 pm@cristian — sure, FLARManager works in CS4. just set FLARManagerExampleLauncher.as as your document class to try out the examples.
hey all, trying to get the example to compile using flashdevelop
Tom | 2009/08/24 | 4:51 pmhey all,
trying to get the example to compile using flashdevelop and have right clicked on the project and set to flash player 10 but alas am getting:
C:\tomdev\FlarManager\FLARManager_v05\src\com\transmote\flar\marker\FLARMarker.as(208): col: 35 Error: Type was not found or was not a compile-time constant: Vector.
C:\tomdev\FlarManager\FLARManager_v05\src\com\transmote\flar\marker\FLARMarker.as(263): col: 36 Error: Type was not found or was not a compile-time constant: Vector3D.
and the same with Matrix3D etc..
any help would be awesome.
thanks,
Tom
@Tom -- i don't use flashdevelop, so not sure what's
ericsoco | 2009/08/24 | 6:07 pm@Tom — i don’t use flashdevelop, so not sure what’s wrong, but those errors are definitely caused by targeting FP9 and not 10. perhaps there’s something else you need to do to get FD to point at the FP10 playerglobal.swc? please post here if you find the answer, so others can benefit. thanks and good luck…
la variable de configuración ‘runtime-shared-library-path’ requiere un valor para ‘rsl-url’ the
desgraci | 2009/08/25 | 9:34 amla variable de configuración ‘runtime-shared-library-path’ requiere un valor para ‘rsl-url’
the configuration variable ‘runtime-shared-library-path’ requires a value for ‘rsl-url’
any help?
@desgraci -- what environment are you using? i'm not
ericsoco | 2009/08/25 | 11:26 am@desgraci — what environment are you using? i’m not familiar with this issue. the Flex Builder project that is included in the FLARManager distro should run fine as-is.
I wrote an article on my blog explaining how to
Patrice | 2009/09/06 | 7:27 amI wrote an article on my blog explaining how to use FLARManager v05 with FlashDevelop (french).
Hope it helps
@patrice -- very useful, thanks!
ericsoco | 2009/09/06 | 1:11 pm@patrice — very useful, thanks!
How do i get this working? sounds like im totally
Jack | 2009/09/09 | 12:49 amHow do i get this working? sounds like im totally novice as im surprised this is so difficult. Iv got the papervision3d code (no idea what to do with it), using flexBuilder 3, and im using Mac OS. Im still getting the white screen under firefox after running the app from FlexBuilder. How do i update the code to point it to the Flashplayer10?
Thanks guys.
@jack, are you getting any errors in the FB console?
ericsoco | 2009/09/09 | 2:13 pm@jack, are you getting any errors in the FB console? if not, could be that FLARCameraSource is auto-selecting the wrong camera. try right-clicking and changing the camera in the settings window.
I'm getting a sandbox security error when trying to access
Tim | 2009/09/24 | 7:32 amI’m getting a sandbox security error when trying to access the config xml file. When I go in to update the compiler settings it won’t let me do it because “the page contains invalid values.” This shows up even if I don’t change anything so it’s not from something I added.
@tim -- dunno about "the page contains invalid values".
ericsoco | 2009/09/24 | 10:41 am@tim — dunno about “the page contains invalid values”. what development environment are you using?
also, re: security sandbox error, you may need to specify your flash player security settings to allow loading local files:
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
thanks eric, i finally got it working by changing the
Tim | 2009/09/24 | 11:50 amthanks eric, i finally got it working by changing the local security settings.
hi, well, my english no is good how can I display two
pao | 2009/09/25 | 12:59 pmhi,
well, my english no is good
how can I display two different render collada patterns.
show two patterns at once and that each has a different render.
bye
@pao -- if you need help with displaying collada models,
ericsoco | 2009/09/25 | 2:31 pm@pao — if you need help with displaying collada models, i suggest you try the FLARToolkit or Papervision forums:
http://groups.google.com/group/flartoolkit-userz
http://forum.papervision3d.org/
hi, how can i run this from flash CS4 can someone
jos | 2009/09/27 | 9:52 amhi, how can i run this from flash CS4
can someone help me,
thanks.
@jos -- set your document class to FLARManagerExampleLauncher.as.
ericsoco | 2009/09/27 | 7:56 pm@jos — set your document class to FLARManagerExampleLauncher.as.
Hi Eric, I'm using cs4 and already set my document
Nandi | 2009/10/01 | 3:14 amHi Eric,
I’m using cs4 and already set my document class to FLARManagerExampleLauncher.as. But i still got white screen only. Did I miss something? Please help.
Thanks.
Thanks for the quick reply, Eric. I'm using Flex Builder
Eric | 2009/10/01 | 10:56 amThanks for the quick reply, Eric. I’m using Flex Builder for this. I basically built up another project from scratch and was able to get around this error. Also, to get this to run outside of the projects directory I needed to add the new path to the list of trusted paths in: flexbuilder.cfg. After that, everything seems to be great. Nice job on this.
hi Eric, thank you so much for flarManager! I am trying
sarah | 2009/10/08 | 6:04 pmhi Eric,
thank you so much for flarManager! I am trying to get up to speed on everything AR, especially after MAX this past weekend. I have downloaded the latest FlarManager bundle, and I’m creating a new project in FlashBuilder – but despite everything I try to do, I keep getting this error:
“1119: Access of possibly undefined property minimumLabelSize through a reference with static type Class. FLARManager.as ”
I wanted to check if this is a known issue or if it has something to do with FlashBuilder, or if I am doing something wrong…
Any help would be appreciated.
Thanks!!
@sarah, that's odd. not sure what would be causing
ericsoco | 2009/10/08 | 6:08 pm@sarah, that’s odd. not sure what would be causing that, except perhaps an outdated version of FLARToolkit, but if you downloaded everything from the FLARManager v0.6 download (latest), that has the current version of FLARToolkit in it. not sure…but please do post here if you find the answer!
thanks eric... well, temporarily, i just added "public static var
sarah | 2009/10/08 | 6:16 pmthanks eric… well, temporarily, i just added “public static var minimumLabelSize:Number;” to the FLARLabeling_BitmapData class because that’s where it was trying to access minimumLabelSize … I don’t like making changes to classes I don’t fully understand though, haha…
I’ll keep you posted if I come up with anything else that might be related…
Thanks!
Although... I think I was actually referencing the older version
sarah | 2009/10/08 | 6:19 pmAlthough… I think I was actually referencing the older version of FlarToolkit, doh! So I believe that fixed that issue.
Thanks again for your help!
hey Eric - I have one more question, hopefully the
sarah | 2009/10/09 | 4:15 pmhey Eric – I have one more question, hopefully the last for a while.
I have gotten everything set up and am able to get both a collada file (the one from your bundle) and a simple cube to appear/match to the marker.
The only thing is that both are reversed in relation to the marker… I saw that there’s a mirrorDisplay option for flarManager but also that it shouldn’t be necessary… and, setting it to true in my example doesn’t seem to change anything. Can you think of what I might be doing wrong? Any help would be appreciated.
Thank you!
Update: I set the bMirror to false in convertFLARMatrixToPVMatrix which
sarah | 2009/10/09 | 4:38 pmUpdate: I set the bMirror to false in convertFLARMatrixToPVMatrix which fixed it. Your samples didn’t have that set, so can you just let me know if i might have done something wrong in order for it to have to be set to false?
thanks !
Hi! Im using CS4 and created a new doc and added
ana | 2009/10/12 | 9:27 amHi!
Im using CS4 and created a new doc and added the FLARManagerExampleLauncher.as. to my documento class. Also using Flash Player 10.
Just get a white screen and these 3 errors:
FLARCamera3d.as, Line 40
1017: The definition of base class Camera3D was not found.
@sarah -- yep, if you turned mirroring off in flarConfig.xml
ericsoco | 2009/10/12 | 11:15 am@sarah — yep, if you turned mirroring off in flarConfig.xml (by default, mirroring is turned on), you would have to pass ‘false’ as the second param to the matrix conversion method, in this case convertFLARMatrixToPVMatrix. if you take a look at FLARManagerExample_PV3D, in SimpleCubes_PV3D, you’ll note that the convertFLARMatrixToPVMatrix passes either true or false depending on the current mirroring setting. FLARManagerTutorial_Collada is designed to be simpler, so i stripped that out.
@ana, sounds like you're missing some external library. Camera3D
ericsoco | 2009/10/12 | 11:17 am@ana, sounds like you’re missing some external library. Camera3D is a class in a 3D framework; it exists in a few of them, so you have to figure out which one you’re missing. i included SWCs for all the 3d libs that FLARManager supports in the FM download, so chances are you just need to point CS4 at the libs directory. (i don’t know how to do this tho, i use Flex Builder.)
Hi, first of all, great work :). FLARManager really make
Gjorgji | 2009/10/13 | 7:43 pmHi,
. FLARManager really make things simple.
first of all, great work
I have problem that i can’t solve. I download FLARManager from svn, and using v6.0 from deploy folder. I set up my project with FlashDevlop and FlashIDE. But when i compile the project, it throw’s 3 errors:
1044: Interface method attachDestination in namespace org.libspark.flartoolkit.core.labeling:IFLARLabeling not implemented by class org.libspark.flartoolkit.core.labeling:FLARLabeling_BitmapData.
(in interest of space, i just copy the first one)
It says that FLARLabeling_BitmapData is not implementing the IFLARLabeling interface. I open that class, and there is implementation of that interface. I’m not very advanced AS 3.0 user, so could you help? What is the problem with this?
thanks
@Gjorgji -- this sounds like the same bug others found
ericsoco | 2009/10/13 | 9:00 pm@Gjorgji — this sounds like the same bug others found with CS4. please take a look through the comments on this post:
http://words.transmote.com/wp/20090923/flarmanager-v0-6-augmented-reality-in-flash/
and also on this blog:
http://blog.webdeely.com/2009/02/cs4-doesnt-like-the-combo-of-internal-classes-and-interfaces-in-as3/
ericsoco, thanks, that was the problem, a bug with CS4.
Gjorgji | 2009/10/14 | 4:18 americsoco,
thanks, that was the problem, a bug with CS4. I guess i will use just FlashDevelop. Thanks one more time and keep up the good work
Cheers.
GOOD Example.! it is possible to change the doll? that program you
Filipe-Portugal | 2009/10/21 | 2:06 pmGOOD Example.!
it is possible to change the doll?
that program you can create?
best regards Filipe
Hi, I've downloaded the FLARManager from your site, and followed all
Glenn Veugen | 2009/10/28 | 11:15 amHi,
I’ve downloaded the FLARManager from your site, and followed all the steps described in the how-to. Unfortunately I get the following error:
SecurityError: Error #2148: SWF file file:///D:/Actionscript Libraries/FLARManager/FLARManager_v06/bin-debug/FLARManagerExampleLauncher.swf cannot access local resource ../resources/flar/flarConfig.xml. Only local-with-filesystem and trusted local SWF files may access local resources.I get this error more often, and various sources tell me to add the following parameter to the flex compiler settings:
-use-network=falseUnfortunately I can’t enter this parameter in the FLARManager project settings. Do you have any idea how to fix this error (and maybe the sandbox violation errors in general)?
@glenn: go here, "Add location" any folder above where the FLARManager
ericsoco | 2009/10/28 | 11:25 am@glenn:
go here, “Add location” any folder above where the FLARManager swf is, and you should be good. thank adobe for the lovely security sandbox exception interface.
@glen -- I also had trouble changing the compiler settings.
weasley | 2009/10/30 | 2:50 pm@glen — I also had trouble changing the compiler settings. The problem is reported at the top of the compiler settings window — something about a missing file, FLARcat.as — you’ll see it at the top of the compiler settings window.
To fix, search all files in the project for FLARcat.as and change the reference to FLARManagerLauncher.as .
That should help.
I'm having an issue running step 7 of this tutorial.
Justin | 2009/11/16 | 10:21 amI’m having an issue running step 7 of this tutorial. I get ‘Launch Failed’ The pop up says: ‘Failed to connect; session timed out. Ensure that:
1. You compiled your Flash application with debugging on.
2. You are running the debugger version of flash player.
I am on a mac (sigh) and I installed flash player 10 debugger, (flash verison: MAC 10,0,32,18).
Any ideas?
Also whenever I run it text wrangler opens up with the html in it. I have a feeling this is going to be an issue down the road. Anyone know how to make sure this opens in Firefox instead? I have that file set to open with firefox.
Thanks for any and all help.
Justin
hi, yesterday i played withflartoolkit. now i reading that flarmanager is
qualtext | 2009/11/17 | 1:06 amhi,
yesterday i played withflartoolkit. now i reading that flarmanager is easyier.
ok, thats cool – but i dont understand this lines like:
// general management
private var _activeMarkers:Vector.;
why there are “”.
flex also shows me errors on this lines:
1084: Syntaxfehler: identifier vor lessthan erforderlich.
FLARManager/src/com/transmote/flar FLARManager.as line 110 1258444840930 318
(erforderlich = identifier needed)
can somebody help me?
btw: i dont had and have any html-errors like “can not create html…”
thank you for all
qualtext
the tags are hidden... after "var _activeMarkers:Vector." there ar [TAG]FlarMarker[TAG close].
qualtext | 2009/11/17 | 1:12 amthe tags are hidden…
after “var _activeMarkers:Vector.” there ar [TAG]FlarMarker[TAG close].
@qualtext -- not really sure what problem you're having, but
ericsoco | 2009/11/18 | 10:07 pm@qualtext — not really sure what problem you’re having, but i’m guessing you’re not targeting flash player 10. FLARManager only runs in FP10.
hi, that was the problem - i fixed it. i updated
qualtext | 2009/11/19 | 12:44 amhi,
that was the problem – i fixed it. i updated my flex-builder (sdk) to 3.5.
btw: how many frames per second get you when more than one marker is tracking? my webcam (max 60 FPS / 640×480) only gets 3 – 9 frames…
[...] http://words.transmote.com/wp/flarmanager/inside-flarmanager/getting-started/ で初めて自分の環境で起動に成功. 11:02 PM Nov 28th webで [...]
フィンランドで研究したい人への手引き@89日目 | 2009/12/03 | 5:34 am[...] http://words.transmote.com/wp/flarmanager/inside-flarmanager/getting-started/ で初めて自分の環境で起動に成功. 11:02 PM Nov 28th webで [...]
Hey! I downloaded the bundle and got Flex Builder 3.0.2. When I
DaCas | 2009/12/17 | 8:30 amHey!
I downloaded the bundle and got Flex Builder 3.0.2.
When I try to lunch the FLARManagerExampleLauncher in the Debug menu item the browser opens, ask me to allow the use of the webcam and then it just bugs. Neither IE or Firefx could work and I got the latest flash player debugs.
Sometimes it goes “Failed to connect; session timed out.”, but other times the browser just closes itself.
Any tips?
@DaCas -- odd. never heard of FLARManager or FLARToolkit
ericsoco | 2009/12/17 | 9:12 pm@DaCas — odd. never heard of FLARManager or FLARToolkit crashing the browser. my guess would be that there’s something wrong with your camera setup. perhaps try making a bare-bones application that opens a Camera and shows it on-screen with a Video object, and see if you have the same problem….
Hello eric, you were absolutly right. The problem is my camera:
DaCas | 2009/12/23 | 6:33 pmHello eric, you were absolutly right.
The problem is my camera: Foston Ft-600, I really don’t recomend it.
Sometimes it does work, sometimes it doesn’t. I couldn’t figure out yet exacly why this is happening, but I’ll buy another one anyway.
Thanks.
I setup the project as a FLEX actionscript project.
revilorb | 2010/01/05 | 11:09 amI setup the project as a FLEX actionscript project. It seems that I have no errors however when I run the FLARManagerExampleLauncher.as it pops up what I would expect to be my cam window with the usual accept and dent options for Flash Player, however it just stays white.
I have successfully setup other projects that use the FLARToolkit but this is my first attempt at using the FLARManager bundle.
Please Help!
I seem to have solved the problem by using the
revilorb | 2010/01/05 | 11:16 amI seem to have solved the problem by using the version of the FLARManager copy from the deploy directory of the v061 that I checkout using svn. Perhaps the answer as to what is wrong with the zipped bundle is somewhere above and I missed it.
cest la vie
[...] Inside FLARManager: Getting Started | transmote speaks… Quickstart [...]
Links for 2010-01-06 at .swfgeek | 2010/01/06 | 8:04 am[...] Inside FLARManager: Getting Started | transmote speaks… Quickstart [...]
Hey, I when I import the FLARmanager he gives me 37
Martijn | 2010/01/12 | 11:28 amHey,
I when I import the FLARmanager he gives me 37 errors:
1084: Syntax error: expecting identifier before lessthan. FLARManager.as line 110
I saw that in the lines with the errors this code: . Do I have to delete that??
THanksss
@martijn -- you need to target flash player 10.
ericsoco | 2010/01/12 | 11:40 am@martijn — you need to target flash player 10.
Hi All, Thanks for any and all advice! I have successfully
revilorb | 2010/01/12 | 11:58 amHi All, Thanks for any and all advice!
I have successfully created a marker locked video playing on a continuously tranformable plane, ala Brimelows example with Kramer from Seinfeld.
I am able to build and run it from Flex Builder 3 running on Windows 7. However, when I build it to the webdirectory, c:/inetpu/wwwroot/FLARManager1……I cannot see it when I attempt to access it from a remote client or even from local host. All that appens is that the initial camera access query pops up in the Flash Player 10 embedde screen and then when I select accept it does nothing.
When I run a FLARtoolkit based example it can be veiwed from the IDE, from localhost, and has been published and is viewable from a remote client.
Is there something about the FLARManager imports, the vid.swc file, etc. that is hanging it up or do I have to configure the webserver to handle the streaming video differently? (Actually I do not think this is the problem as I also cannot seem to publish the basic FLARManager example from Sakoosha and have them visible from my web server.
Any and all input on this issue will be gratefully accepted. Thanks in advnace gfor your consideration and assitance.
Regards,
Revilorb
Ok thanks ericsoco, But, and I know its a noob question,
Martijn | 2010/01/12 | 1:56 pmOk thanks ericsoco,
But, and I know its a noob question, how can I do that??
Thanks again!
@revilorb -- no reason you should have to configure your
ericsoco | 2010/01/12 | 9:49 pm@revilorb — no reason you should have to configure your server differently. FLARManager’s not that complex
chances are, there’s a resource that’s not loading correctly, due either to sandbox restrictions or incorrect file paths. i suggest you install LiveHTTPHeaders for Firefox and use it to determine if there are any resources not loading correctly.
OK, It appea5rs my submission of the entire HTTP header
revilorb | 2010/01/13 | 12:41 pmOK, It appea5rs my submission of the entire HTTP header log file was too lengthy for the blog. To summarize,
When I run a FLARToolkit example hosted from Microsoft-IIS/7.5 where the client is User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100106 Ubuntu/9.10 (karmic) Firefox/3.5.7
All of the headers receive the HTTP/1.x 200 OK flag
However when I use the example that uses the flar manager where the patter files and the camera.parma.dat file are referred to in the flarcongi.xml file…..the header results are different, i.e.
http://97.104.250.238/FLARManager1/resources/flar/camera_para.dat
GET /FLARManager1/resources/flar/camera_para.dat HTTP/1.1
Host: 97.104.250.238
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100106 Ubuntu/9.10 (karmic) Firefox/3.5.7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
HTTP/1.x 404 Not Found
Content-Type: text/html
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
Date: Wed, 13 Jan 2010 18:53:39 GMT
Content-Length: 1245
———————————————————-
http://97.104.250.238/FLARManager1/resources/flar/patterns/pat8/patt012.pat
GET /FLARManager1/resources/flar/patterns/pat8/patt012.pat HTTP/1.1
Host: 97.104.250.238
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100106 Ubuntu/9.10 (karmic) Firefox/3.5.7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
HTTP/1.x 404 Not Found
Content-Type: text/html
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
Date: Wed, 13 Jan 2010 18:53:39 GMT
Content-Length: 1245
I am assuming the HTTP/1.x 404 Not Found is significant! I am checking the locatrion of the files to ensure that they are where they are supposed to be hwever if the file types are not recognized then I am not sure what the issue is.
Ay comments would be greatly appreciated. Thanks!
Hi All, Since my last post I have experiemented with
revilorb | 2010/01/13 | 1:39 pmHi All, Since my last post I have experiemented with moving the locations of the camera_para.dat and the pattern files to the webroot and modify the paths in the build files however, nothing seems to help. I am feeling very frustrated. The only projects that I have been able to succssfully serve from my IIS 7.5 server are ones that do ot make use of the FLARManager.
HI, I've installed Flex SDK with eclipse (in linux ubuntu
Eduardo Pinheiro | 2010/01/20 | 2:50 amHI,
I’ve installed Flex SDK with eclipse (in linux ubuntu 64bits).
It is giving me the following errors:
Description Resource Path Location Type
1084: Syntax error: expecting identifier before lessthan. FLARManager.as /FLARManager/src/com/transmote/flar line 110 Flex Problem
1084: Syntax error: expecting rightbrace before lessthan. FLARManager.as /FLARManager/src/com/transmote/flar line 110 Flex Problem
1084: Syntax error: expecting rightbrace before lessthan. FLARManager.as /FLARManager/src/com/transmote/flar line 110 Flex Problem
An internal build error has occurred. Right-click for more information. FLARManager Unknown Flex Problem
How can i solve it?
Thanks
I already read many times this forum and the answer
Eduardo Pinheiro | 2010/01/20 | 7:45 amI already read many times this forum and the answer is always “you need to target flash 10″. But i cannot understand how i can do that:
note: im working in ubuntu 9.10 64bits:
1- I have flash 10 installed in my computer
2- in my FlexBuilder directory i have a directory called Player/linux which has the flash 9 files:
flashplayer
- flashplayer-installer
- libflashplayer.so
I’ve replace that files by the flash 10 files but i maintain the name of the directoy install_flash_player_9_linux.
Im still having the following errors:
when launch the adobe_flex_builder.sh:
Standalone player is available under and will be used from
/home/edup/MySoftware/FlexBuilder/Player/linux/flashplayer
grep: /home/edup/MySoftware/FlexBuilder/Player/linux/fp_installerout.txt: No such file or directory
Plugin flash player is available under - and the same is set to MOZ_PLUGIN_PATH
USER_SELECTED_FOLDER /home/edup/MySoftware/Eclipse-32/eclipse
/usr/lib/gio/modules/libgioremote-volume-monitor.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgioremote-volume-monitor.so
/usr/lib/gio/modules/libgvfsdbus.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so
/usr/lib/gio/modules/libgiogconf.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgiogconf.so
[INFO][Status: id=IDLE;name=IDLE]
[INFO][Status: id=IDLE-VNC;name=IDLE-VNC]
[INFO][Status: id=OFF;name=OFF]
[INFO][Status: id=INACTIVE;name=INACTIVE]
Then inside eclipse if find this errors:
Description Resource Path Location Type
Syntax error: expecting identifier before lessthan. FLARMarker.as /FLARManager/src/com/transmote/flar/marker line 465 Flex Problem
Syntax error: expecting rightparen before leftbrace. FLARManager.as /FLARManager/src/com/transmote/flar line 1120 Flex Problem
Syntax error: expecting rightparen before leftbrace. FLARManager.as /FLARManager/src/com/transmote/flar line 1120 Flex Problem
Can anyone help me?
Thanks
I already followed this site and nothing: http://franksveranda.blogspot.com/2009/11/installing-flex-builder-3-with-flex-4.html
Eduardo Pinheiro | 2010/01/20 | 7:47 amI already followed this site and nothing:
http://franksveranda.blogspot.com/2009/11/installing-flex-builder-3-with-flex-4.html
@eduardo -- on the FLARManager 'Getting Started' page, i have
ericsoco | 2010/01/20 | 11:32 pm@eduardo — on the FLARManager ‘Getting Started’ page, i have a link to this site:
http://opensource.adobe.com/wiki/display/flexsdk/Targeting+Flash+Player+10
basically, in Project>Properties, you need to replace your playerglobal.swc, and ensure your compile settings require FP version 10.0.0+.
No marker detected? Im using Flash CS4. I have downloaded
James | 2010/01/21 | 9:09 amNo marker detected? Im using Flash CS4. I have downloaded and installed all the classes, targeting FP 10, I modified the libspark bitmap labeling classes with the dummy class…
Everything seems to be working properly, but when I publish the file, the camera just doesn’t seem to detect the marker. Camera is working great, room is lit, i see the marker plainly but Im getting no marker detection events firing. I even tried re-installing CS4.
Anyone else run into this? Everything seems to be in order… but no luck.
When I import my collada file I only see a
Martijn | 2010/01/21 | 11:01 amWhen I import my collada file I only see a wireframe of my model. How can I fix this?
Thanksss
Im now getting the flex builder plugin working with eclipse
Eduardo Pinheiro | 2010/01/22 | 12:51 pmIm now getting the flex builder plugin working with eclipse in ubuntu 64 bits but running the eclipse europa at 32bits. Im abble to make applications with flex library.
The problem is with FlarManager Examples. Now i can run in my localhost linux the camera on flash (but very very pixalized). I already can see the 3D objects in the patterns (but again very pixelized).
In others computers i’ve tried to access to my computer via network and the only thing i can see is the framerate in the top left side of the browser.
Can you help me?
Thanks
Hi, I am using Flashdevelop but i get the identifier before
alex | 2010/01/23 | 2:55 pmHi,
I am using Flashdevelop but i get the
identifier before lessthan
error.
I do have my project settings to target flash player 10? How can i check if this is indeed the case??
hmm, i just notice with a simple hello world flashdevelop
alex | 2010/01/23 | 3:03 pmhmm, i just notice with a simple hello world flashdevelop targets Flash player 8???
strange as i set the target player to 10
Just to inform to future that i was trying to
Eduardo Pinheiro | 2010/01/25 | 2:17 amJust to inform to future that i was trying to install flex plugin with eclipse galileu but without success. Then i’ve installed the europa and downloaded the last sdk of flex (3.5) then i’ve followed the instruction in http://opensource.adobe.com/wiki/display/flexsdk/Targeting+Flash+Player+10 and now i’ve flex builder plugin working.
Now i’ve found out this webiste http://blog.danyul.id.au/?p=68 to put it working on eclipse galileu (but i haven’t tried).
FlarManager is still giving me the problems of my last post.
Best Regards,
Eduardo Pinheiro
Hi, thanks for source. But i have one question. i use this
eozden | 2010/03/05 | 9:24 amHi,
thanks for source. But i have one question.
i use this example and i dont have any problem but i want to use multiple collada model such as when i use a.pat i can see walking man but when i want use secondery pat (ex:b.pat) i cant see another collada model pls help me…..
my part of code
// load the model.
// (this model has to be scaled and rotated to fit the marker; every model is different.)
var model:DAE = new DAE(true,”model”,true);
model.load(“../resources/assets/daire.dae”);
model.load(“../resources/assets/scout.dae”);
model.rotationX = 90;
model.rotationZ = 90;
model.scale = 0.5;
and FLARconfig.xml
I get a ton of errors and warnings. Flushed more
lr | 2010/03/22 | 5:42 pmI get a ton of errors and warnings. Flushed more than a few of them out. Still cannot compile.
@lr -- well, that's very helpful, thanks for the bug
ericsoco | 2010/03/22 | 5:52 pm@lr — well, that’s very helpful, thanks for the bug report.
perhaps if you tell us what even one of them is, we may be able to help.
since all of the examples and tutorials compile with absolutely no problem for me, my first guess is that you’re not targeting flash player 10.
Hi, I've been giving this a shot and everything is working
Danny | 2010/03/29 | 12:13 pmHi,
I’ve been giving this a shot and everything is working really well, however I am trying to embed the final .swf into one of my Flash projects as part of a page. I have tried accessing it using the URL Loader but arrived with the following errors:
Code to embed .swf:
var myLoader:Loader = new Loader();
addChild(myLoader);
var url:URLRequest = new URLRequest(“HelloFLAR_IMD.swf”);
myLoader.load(url);
Errors:
at com.transmote.flar::FLARManager/ageRemovedMarkers()
at com.transmote.flar::FLARManager/onEnterFrame()[/Users/danny/Desktop/IMD_Project_Critical/HelloFLAR/src/com/transmote/flar/FLARManager.as:602]
VerifyError: Error #1014: Class flash.geom::Vector3D could not be found.
@danny -- you can't load a swf targeting FP10 into
ericsoco | 2010/03/29 | 1:57 pm@danny — you can’t load a swf targeting FP10 into one targeting a lower version. you must recompile the parent swf targeting FP10.
Thanks Eric! Worked out like a charm, didn't realise CS4 compiles
Danny | 2010/03/29 | 2:46 pmThanks Eric!
Worked out like a charm, didn’t realise CS4 compiles .swf targetted to FP9 by default. Great!
Hey I'm using Flash cs4 and I'm targeting flash player
Adam | 2010/03/31 | 11:46 amHey I’m using Flash cs4 and I’m targeting flash player 10 and I’m creating a new fla and setting the document class to FLARManagerExampleLauncher but I’m getting 3 errors in the FLARLabeling_BitmapData:
Interface method attachDestination in namespace org.libspart.flartoolkit.core.labeling:IFLARALabeling not implemented by class org.libspart.flartoolkit.core.labeling:FLARLabeling_BitMapData
Hi Eric, It's me once again, this time I am trying
Danny | 2010/04/01 | 10:01 amHi Eric,
It’s me once again, this time I am trying to load this external .swf as part of an interface I’ve designed.
Loading is not a problem, simply by calling this command, the window appears like a charm..
var url:URLRequest = new URLRequest(“HelloFLAR_IMD.swf”);
myLoader.load(url);
myLoader.x = 150;
myLoader.y = 80;
myLoader.z = 2;
stage.addChild(myLoader);
However, when i removeChild or unloadAndStop() the FLARManager persist in the background (shown by the greenlight on the webcam). And i can’t re-initialize the loader again.. is there a solution for this?
This may be a stupid question but I'm a noob
Marcus | 2010/04/04 | 11:10 amThis may be a stupid question but I’m a noob with all this. How do I put 3D objects on the screen that don’t rely on markers? I know how to attach objects to markers but I’m trying to find a way to decorate the screen with objects on initialisation that have nothing to do with markers
@marcus -- you should take a look at the documentation
ericsoco | 2010/04/04 | 12:26 pm@marcus — you should take a look at the documentation / post on the forums for the 3D framework you’re using.
I am able to place objects on the screen in
Marcus | 2010/04/06 | 8:59 amI am able to place objects on the screen in PV3D. That’s not a problem. However it is a lot more complicated when using FLAR objects. I cannot just add an object to the scene as you would in a normal PV3D app. I thought this would be a simple thing to do but I have searched everywhere and I can’t find any examples where an object is placed on the screen which is not attached to a marker. I’ve created a 3D container and added an object to it (such as a cube or a plane) and added that to the scene, but it won’t show up.
Well whadya know, there is a simple solution! (yep, easy
Marcus | 2010/04/06 | 10:47 amWell whadya know, there is a simple solution! (yep, easy when uv spent ages going thru code). The constructor for FLARCamera3D sets .z to 0 (to align perspective of the augmented objects with the camera view). If you trace the value of .z beforehand you will see that it is -1000. Basically you just gotta add 1000 to the value of .z of any objects that you are going to add directly to scene3D. So yeh, my objects were being drawn, they were just really far away
Hi, I'm having a problem when compiling FLARManager in Flash
Phong Vu | 2010/04/13 | 4:06 amHi, I’m having a problem when compiling FLARManager in Flash CS4. This error message always pop up:
FLARManagerExampleLauncher.as – 1020: Method marked override must override another method
I tried version 07, 06, 06.1 and the result is still the same. Please help me, I’m desperate as I am not allowed to use anything beside CS4 in this project.
@phong, there is a workaround. i just posted this,
ericsoco | 2010/04/13 | 10:48 am@phong, there is a workaround. i just posted this, since you’re the third person to ask about this in the last few days.
http://groups.google.com/group/flartoolkit-userz/browse_thread/thread/d2012503c61c3096
Inside FLARManager: Getting Started ... Get start how to build Augmented
pligg.com | 2010/04/22 | 4:06 amInside FLARManager: Getting Started …
Get start how to build Augmented Reality
this quickstart guide requires that you have Flex Builder 3.2+ and a webcam. for information on other environments….
I'm trying to compile the sample code, but my Flash
mediajammer | 2010/05/24 | 2:47 pmI’m trying to compile the sample code, but my Flash CS3 compilier doesn’t like the open and close tags () after the Vector variable declarations, as in var _activeMarkers:Vector.. (If that doesn’t print, it is ‘var _activeMarkers:Vector.[less than symbol] FlarMarker[greater than symbol].’
While I await the CS5 installation to compelete, and hope the CS5 compiler doesn’t choke on it, I’m wondering if this is post CS3 syntax, and what it means, or something else.
@mediajammer -- target flash player 10.
ericsoco | 2010/05/24 | 4:04 pm@mediajammer — target flash player 10.
don't work with flash builder cs4?
MAx | 2010/06/08 | 9:25 amdon’t work with flash builder cs4?
@max -- sure it does. i'm using Flash Builder
ericsoco | 2010/06/08 | 9:33 am@max — sure it does. i’m using Flash Builder 4 right now.
First of all thanks for this great wrapper class. I
Dimitree | 2010/06/16 | 3:29 amFirst of all thanks for this great wrapper class.
I was wondering is it possible to combine FLARManager with JigLib physics? If so can you please guide me?
Thanks in Advance
Hi, I'm quite new at FLARManager and ActionScripts stuff, but
armaghan | 2010/07/21 | 5:42 pmHi, I’m quite new at FLARManager and ActionScripts stuff, but if you can help me on my problem it would be great.
I need to make a cube with six markers and display six different videos on these markers.
I’ve gone through the tutorial on gotoandlearn (http://gotoandlearn.com/play.php?id=114), which is greate, but as soon as start importing my own video something goes wrong with it!!
here is my code for two different videos, can you please check it out for me?
package {
import com.transmote.flar.FLARManager;
import com.transmote.flar.marker.FLARMarker;
import com.transmote.flar.marker.FLARMarkerEvent;
import com.transmote.flar.utils.geom.FLARPVGeomUtils;
import flash.display.Sprite;
import flash.events.Event;
import org.libspark.flartoolkit.support.pv3d.FLARCamera3D;
import org.papervision3d.materials.MovieMaterial;
import org.papervision3d.objects.DisplayObject3D;
import org.papervision3d.objects.primitives.Plane;
import org.papervision3d.render.LazyRenderEngine;
import org.papervision3d.scenes.Scene3D;
import org.papervision3d.view.Viewport3D;
[SWF(width="640", height="480", backgrounColor="#FFFFFF", frameRate="40")]
public class TwoVideos extends Sprite
{
private var fm:FLARManager;
private var marker0:FLARMarker;
private var marker1:FLARMarker;
private var scene:Scene3D;
private var view:Viewport3D;
private var camera:FLARCamera3D;
private var lre:LazyRenderEngine;
private var p0:Plane;
private var p1:Plane;
private var con0:DisplayObject3D;
private var con1:DisplayObject3D;
private var v0:Vid;
private var v1:Vid;
public function TwoVideos()
{
initFLAR();
v0 = new Vid();
v1 = new Vid();
v0.vid.source = “mocha.flv”;
v1.vid.source = “mocha2.flv”;
v0.vid.stop();
v1.vid.stop();
v0.vid.autoPlay = false;
v1.vid.autoPlay = false;
}
public function initFLAR():void
{
fm = new FLARManager (“flarConfig.xml”);
fm.addEventListener(FLARMarkerEvent.MARKER_ADDED, onAdded);
fm.addEventListener(FLARMarkerEvent.MARKER_UPDATED, onUpdated);
fm.addEventListener(FLARMarkerEvent.MARKER_REMOVED, onRemoved);
fm.addEventListener(Event.INIT, init3D);
addChild (Sprite(fm.flarSource));
}
private function onAdded(e:FLARMarkerEvent):void
{
if(e.marker.patternId.toString() == “0″)
{
marker0 = e.marker;
p0.visible= true;
v0.vid.play();
}
else if (e.marker.patternId.toString() ==”1″)
{
marker1 = e.marker;
p1.visible= true;
v1.vid.play();
}
}
private function onUpdated(e:FLARMarkerEvent):void
{
if(e.marker.patternId.toString() == “0″)
{
marker0 = e.marker;
p0.visible= true;
}
else if (e.marker.patternId.toString() ==”1″)
{
marker1 = e.marker;
p1.visible= true;
}
}
private function onRemoved(e:FLARMarkerEvent):void
{
if(e.marker.patternId.toString() == “0″)
{
marker0 = null;
p0.visible= false;
v0.vid.stop();
}
else if (e.marker.patternId.toString() ==”1″)
{
marker1 = null;
p1.visible= false;
v1.vid.stop();
}
}
private function init3D(e:Event):void
{
scene = new Scene3D();
camera = new FLARCamera3D(fm.cameraParams);
view = new Viewport3D(640, 480 , true);
lre = new LazyRenderEngine(scene, camera, view);
var mat0:MovieMaterial = new MovieMaterial(v0, false, true);
var mat1:MovieMaterial = new MovieMaterial(v1, false, true);
p0 = new Plane(mat0, 160, 120, 2, 2);
p1 = new Plane(mat1, 160, 120, 2, 2);
p1.visible= false;
p1.visible = false;
p0.scaleY = -1;
p0.rotationZ = 90;
p1.scaleY = -1;
p1.rotationZ = 90;
con0 = new DisplayObject3D();
con1 = new DisplayObject3D();
con0.addChild(p0);
con1.addChild(p1);
scene.addChild(con0);
scene.addChild(con1);
addChild(view);
addEventListener(Event.ENTER_FRAME, loop);
}
private function loop(e:Event):void
{
if (marker0 != null)
{
con0.transform = FLARPVGeomUtils.convertFLARMatrixToPVMatrix(marker0.transformMatrix);
}
if (marker1 != null)
{
con1.transform = FLARPVGeomUtils.convertFLARMatrixToPVMatrix(marker1.transformMatrix);
}
lre.render();
}
}
}
I really need help!! I have presentation on 27th of July !!!!
many thanks in advance
Hi, I've just downloaded FLARManager and imported the Flex project
Al | 2010/09/22 | 5:54 amHi, I’ve just downloaded FLARManager and imported the Flex project into Flash Builder 4. The following errors appear:
Error 1046: Type was not found or was not a compile time constant: CLibInit (FlareTracker.as, line 75)
Error 1172: Definition cModule.libFlareTracker:CLibInit could not be found (FlareTracker.as, line 16)
Error 1180: Call to a possibly undefined method CLibInit (FlareTracker.as, line 99)
I’d be very grateful if someone could tell me how to resolve them (I’m new to all this so go gentle on me!).
Cheers
Al
Hey Eric, thanks for flarmanager, and i have a question.
Carlos | 2010/09/29 | 12:23 pmHey Eric, thanks for flarmanager, and i have a question. ¿how works FLARPVGeomUtils on flarmanager 1.0?
@carlos - sorry, i don't understand the question. FLARPVGeomUtils.as
ericsoco | 2010/09/29 | 12:30 pm@carlos – sorry, i don’t understand the question. FLARPVGeomUtils.as no longer exists in v1.0. and it’s used automatically by FLARManager and FLARCamera_PV3D, so you don’t really need to do anything with it…
[...] exatamente o que este post do blog do FLARManager diz,
Primeiro teste com detecção de marcador | IME-USP 1300031 | 2010/10/12 | 12:50 am[...] exatamente o que este post do blog do FLARManager diz, consegui testar a minha nova IDE (Flash Builder 4) neste MacBook quebrado, como se pode se ver [...]
hi, like the guy up there, I have this same
Antonio | 2010/10/13 | 7:20 pmhi, like the guy up there, I have this same problem.
I’ve installed Flash Builder, did exactly the same tutorial and left these errors.
Error 1046: Type was not found or was not a compile time constant: CLibInit (FlareTracker.as, line 75)Error 1172: Definition cModule.libFlareTracker:CLibInit could not be found (FlareTracker.as, line 16)
Error 1180: Call to a possibly undefined method CLibInit (FlareTracker.as, line 99)
Flarmanager v1.0.1 and Alternativa3D HI, I'm actually working very good with
siralvarez | 2010/10/14 | 11:20 amFlarmanager v1.0.1 and Alternativa3D
HI, I’m actually working very good with collada models and FLARToolkit, but the quality of the models is poor, I’m looking for a tutorial of Alternativa3D and FLARmanager but I don no have good luck.
Can anyone help me to understand how to work with 3d models, altenrnativa3d and FLARManager.
Thanks in advance.
I'm haveing the same problem as the 2 people above.
Frank | 2010/10/20 | 12:09 pmI’m haveing the same problem as the 2 people above. Not sure what I’m doing wrong. I’m new to this but have been doing a lot of research and studying. I feel like I might have to add another library but I have no idea how or which to add. I imported the folder with flash builder 4 and these are the errors I receive. thank you for all the help.
rror 1046: Type was not found or was not a compile time constant: CLibInit (FlareTracker.as, line 75)
Error 1172: Definition cModule.libFlareTracker:CLibInit could not be found (FlareTracker.as, line 16)
Error 1180: Call to a possibly undefined method CLibInit (FlareTracker.as, line 99)
I'm hoping someone might have figured out this error: Error 1046:
Novian | 2010/10/25 | 11:00 amI’m hoping someone might have figured out this error:
Error 1046: Type was not found or was not a compile time constant: CLibInit (FlareTracker.as, line 75)
Error 1172: Definition cModule.libFlareTracker:CLibInit could not be found (FlareTracker.as, line 16)
Error 1180: Call to a possibly undefined method CLibInit (FlareTracker.as, line 99)
If so, I’d be grateful if you shared it.
Thanks.
@novian, @frank, and others -- the CLibInit error is telling
ericsoco | 2010/10/26 | 9:12 am@novian, @frank, and others — the CLibInit error is telling you you don’t have the flare .swc in your build path. please see this page for more info.
however, i’m confused. the v1.0.1 distro uses FLARToolkitManager as the default tracker, not FlareManager, so you shouldn’t be seeing these errors. did you change the tracker (in the new FLARManager() call) from FTK -> flare?
@ericsoco No all I did was download the new flarmanager
Frank | 2010/10/26 | 5:54 pm@ericsoco
No all I did was download the new flarmanager and after unzipping imported it into the new adobe flash builder 4. After doing that I get the 3 CLibInit errors. I still dont understand how to fix it. Can you please explain how to change the default tracker? I’m new to this but have been learning a lot everyday. Thank you for all your help and everyone else on this forum.
Hi guys, Regarding the CLibInit error, ericsosco had it right –
Novian | 2010/10/26 | 6:07 pmHi guys,
Regarding the CLibInit error, ericsosco had it right – you need to add the flare .swc in your build path. The link to the .swc is near the top of this blog post but also here: http://www.imagination.at/en/?Products:Augmented_Reality_for_Flash
I’m a little foggy (lack of sleep) but I think I received another error after I included this .swc. Of course, I’m using Flex 3 so some of the other missing .swc’s might be in Flash Builder.
Good luck and thank you ericsoco for all of your help.
@novian -- if you're using FB3, you'll have to make
ericsoco | 2010/10/26 | 8:31 pm@novian — if you’re using FB3, you’ll have to make sure you’re targeting flash player 10, or you’ll likely get another swc error (or something similar).
@frank — i see that the examples don’t default to FlareTracker (i changed this in v1.01), but it could be that there’s a reference to something flare-specific somewhere else in the code. there should not be; i’ll open the examples up in FB when i have a chance and try to identify the problem. in the meantime, you might just follow novian’s suggestion above in order to be able to compile.
What does CLib do? I have those 3 errors but
Frank | 2010/10/27 | 1:30 pmWhat does CLib do? I have those 3 errors but when I run the program it runs fine maybe a little slow in frame rates but the dae file comes up on the pattern and it tracks fine. Just wondering if I’m missing something here. Thanks for all your help you guys most definitely are good people. Thank you again. I’ve created an actionscripts folder and copied the swc files to it and added it to my build path and I still have those errors.
This ill help us this explains everything. http://groups.google.com/group/flartoolkit-userz/browse_thread/thread/d41af1d64618c8f1?fwc=1 Its the FlareTracker.swc file
Frank | 2010/10/27 | 3:22 pmThis ill help us this explains everything.
http://groups.google.com/group/flartoolkit-userz/browse_thread/thread/d41af1d64618c8f1?fwc=1
Its the FlareTracker.swc file and license.txt there not in the Lib Folder. Since I never downloaded those the CLib error is coming up. Guess I didn’t really understand the instructions. Thank you guys for all your help I hope this explains it for the other people with the CLib error.
Hey Eric, I'm trying to capture/record the coordinates/movement or my 3D
Novian | 2010/10/27 | 5:43 pmHey Eric,
I’m trying to capture/record the coordinates/movement or my 3D model during an AR session. My idea is to recreate the movement of the model in a different session. I’m about to go through the various classes to see where I can get the x, y and z coordinates over time. My guess is this information is in the transformMatrix. I’m wondering if you have any thoughts you could share?
Thanks.
@novian -- you'll need more than just the x/y/z coords,
ericsoco | 2010/10/27 | 10:46 pm@novian — you’ll need more than just the x/y/z coords, you should store the transform matrices every frame, into an array, and then just re-apply them in sequence to replay the animation. regardless, you should look at the docs for FLARMarker.as.
@frank -- CLibInit is the main 'gateway' class into an
ericsoco | 2010/10/27 | 10:48 pm@frank — CLibInit is the main ‘gateway’ class into an adobe alchemy SWC. flare uses alchemy; if the flare swc is not in the build path, calls to CLibInit fail, and throw that error.
@eric – That's what I figured. I'll add the transformMatrix
Novian | 2010/10/28 | 9:30 am@eric – That’s what I figured. I’ll add the transformMatrix to the array. Going to run a test this weekend. I’ll definitely share the final product with you once I’m done (assuming you are interested). Again, thank you so much for your time and effort.
I just download the FLARManager 1.01 package.But when I import
ZhangChuan | 2010/10/29 | 12:36 amI just download the FLARManager 1.01 package.But when I import it in the Flash Builder,
There are some errors as below:
1046: Type was not found or was not a compile-time constant: CLibInit. FlareTracker.as /FLARManager/src/at/imagination/flare line 75 Flex Problem
1172: Definition cmodule.libFlareTracker:CLibInit could not be found. FlareTracker.as /FLARManager/src/at/imagination/flare line 16 Flex Problem
1180: Call to a possibly undefined method CLibInit. FlareTracker.as /FLARManager/src/at/imagination/flare line 99 Flex Problem
What should I do?Thanks a lot!
Regarding the CLibInit error Hello! I'm sorry if asking a stupid
Polina | 2010/10/31 | 1:51 amRegarding the CLibInit error
Hello! I’m sorry if asking a stupid question – i started to explore this technology only yesterday.
I have the same CLibInit problem and i read carefully all the discussion above and visited all the links. BUT. Where to get these FlareTracker.swc and license.txt files??? I don’t have them on my computer and can’t find in the web. Can’t get it…
Thank you so much for help!
Polina
@ZhangChuan, read the "Note" under the AR sample picture.
fell0w | 2010/10/31 | 4:18 am@ZhangChuan, read the “Note” under the AR sample picture.
@polina and everyone else struggling with CLibInit errors -- i
ericsoco | 2010/10/31 | 11:45 am@polina and everyone else struggling with CLibInit errors — i just released an update that fixes the problem. see here for more info.
Thank you Eric! Though it still doesn't work for me
Polina | 2010/11/04 | 8:47 amThank you Eric! Though it still doesn’t work for me – i get the same error…
@eric - I got it sorted thank you for your
Onyx | 2010/11/10 | 1:30 pm@eric – I got it sorted thank you for your help. I re downloaded the flar manager and its working fine.
just getting this error but program is running should I be concerned about it
VerifyError: Error #1033: Cpool entry 56 is wrong type.
[SWF] H:\AS\FLARManager_v1_0_3\bin-debug\FLARManagerExampleLauncher.swf – 867,799 bytes after decompression
Thank you for your patients. You are doing a great job!!!!!
Hi Eric, Question: Is it possible to replace the video coming
Novian | 2010/11/17 | 9:33 amHi Eric,
Question: Is it possible to replace the video coming from a camera, with video coming from a NetStream and still have the FLAR work? I know that the FLARCameraSource.as pulls in the video from the webcam. I’ve tried to replace it with streamed video however the marker within the video doesn’t seem to get picked-up. Am I missing something completely fundamental?
Thanks.
Novian
@novian -- sure thing. check out FLARLoaderSource -- you
ericsoco | 2010/11/17 | 10:41 am@novian — sure thing. check out FLARLoaderSource — you can load a swf that runs the NetStream, or hack it to just run the NetStream internally.
Hi again, I'll definitely take a look at the FLARLoaderSource method
Novian | 2010/11/17 | 11:57 amHi again,
I’ll definitely take a look at the FLARLoaderSource method although I think I’m essentially doing the same thing via the FLARCameraSource hack. The trouble I’m having now is with this function in FLARCameraSource:
public function update () :void {
this.displayBmpData.draw(this.video, this.displayMatrix);
this.sampleBmpData.draw(this.video, this.sampleMatrix);
}
I’m guessing it’s trying to take snapshots of my video which is streaming via RTMP. I’m getting a security error. Thoughts?
Another quick question: I can load a .flv into the FLARLoaderSource, no?
@novian -- well, FLARLoaderSource loads content via a Loader object,
ericsoco | 2010/11/17 | 12:53 pm@novian — well, FLARLoaderSource loads content via a Loader object, and Loader objects can’t load .flvs, you have to use a NetStream for that.
the update() method does what you think it does, yes. if you look in the AS3 docs under BitmapData.draw, you’ll see what’s causing the security error….not sure how to work around it tho. can you stream the video from the same domain serving the FLARManager swf?
i’m not clear why there are security restrictions here, but it might have to do with DRM — flash player is used by many streaming services, and they want to be sure people can’t just leech their content. BitmapData.draw() on a NetStream would allow them to do that.
Thanks again, Eric. Yeah, it looks like I need my
Novian | 2010/11/17 | 1:38 pmThanks again, Eric. Yeah, it looks like I need my FMS host to make a couple of changes to the main.asc and application.xml files on the server. This should allow me to do the BitmapData.draw on my .flv. I’ll let you and anyone else who’s interested know how it goes.
Thanks.
Really exists the version Flex Builder 3.2 .. or you
xochitl | 2010/12/12 | 8:38 amReally exists the version Flex Builder 3.2 .. or you are refering to the flex SDK version whe you says “Flex Builder 3.2″
I have the Flex Builder 3.02… with the flex SDK 3.4.1.10084 (stable)
and when I import the project appear many error like:
1046: Type was not found or was not a compile-time constant: Matrix3D. FLARManager Unknown 1292166721382 1542
and:
1046: Type was not found or was not a compile-time constant: Vector. FLARManager/src/com/transmote/flar/marker FLARMarker.as line 284 1292166720331 1513
why?
do flarmanager works here??
@xochitl -- yes, you are correct. i should have
ericsoco | 2010/12/12 | 10:42 am@xochitl — yes, you are correct. i should have written ‘flex SDK 3.2+’. so you have the tools you need. it sounds, however, like you’re not targeting Flash Player 10. there’s a link on this page that shows how to do that.
why is it that i can write everythin i want
martin | 2011/01/12 | 9:51 pmwhy is it that i can write everythin i want into the thresholdadapter classname? even when i type in “kcndsn” there seems to be no change?
@martin -- read this: http://words.transmote.com/wp/flarmanager/inside-flarmanager/customization/#thresholdAdapter
ericsoco | 2011/01/13 | 1:11 pm@martin — read this:
http://words.transmote.com/wp/flarmanager/inside-flarmanager/customization/#thresholdAdapter
hi, i am trying to run FLARManagerExampleLauncher on Flash Builder but
jcwayne | 2011/01/25 | 1:24 amhi,
i am trying to run FLARManagerExampleLauncher on Flash Builder but the player doesn’t show on Firefox or google chrome, but it does on Internet explorer. My browser’s flash version is 10.1.102.64. what could be the problem on this?
please help thanks!
@jcwayne -- doesn't sound like a FLARManager/FLARToolkit issue, sounds like
ericsoco | 2011/01/25 | 12:19 pm@jcwayne — doesn’t sound like a FLARManager/FLARToolkit issue, sounds like a flash player setup issue. try uninstalling flash player and reinstalling the debugger version, and try again.
@ericsoco: thanks! just opened the browser today and already worked..
jcwayne | 2011/01/25 | 6:07 pm@ericsoco: thanks! just opened the browser today and already worked.. kinda weird
getting the application on a web server hi, i just want
jcwayne | 2011/01/26 | 12:30 amgetting the application on a web server
hi, i just want to ask for some guide what are needed to get this toolkit run on a web server? thanks
Hello everyone, it's been a while since i commented but
Haito51 | 2011/02/01 | 8:14 amHello everyone, it’s been a while since i commented but I did find the drivers for the Playstation 3 Eye Toy I believe someone was asking a while back
http://alexpopovich.wordpress.com/2008/10/02/sony-ps3eye-camera-directshow-capture-source-filter/
also not sure if anyone posted but here are the drivers for Xbox Kinect
http://varunsrin.posterous.com/connecting-your-kinect-toyour-windows-pc
Check the demo used with it
http://as3devs.com.br/2010/cristiano/kinect-box2d/
@ericsoco thx for the hard work and I noticed the update super cool
hello my name is jackie, download FLARManager libraries and I
jackie | 2011/02/06 | 8:24 pmhello my name is jackie, download FLARManager libraries and I realized that the library but suffers in the v1.01 and do not match the steps that are marked Ariba would help me and if flash could be improved, waiting for a com arespuesta a Shallum and best wishes I leave you my e-mail that is jakelin11 @ hotmail.
Escuchar
Leer fonéticamente
Diccionario – Ver diccionario detallado
Holy hell. I'm a major n00b, and I'm having problems
Avery | 2011/03/08 | 12:06 pmHoly hell. I’m a major n00b, and I’m having problems with Flash Builder 4.
I downloaded FLARManager, imported it into FB4, and now when I try to compile/debug/whatever, I get nothing but a blank screen in any browser I try.
Originally I had errors being thrown at me regarding Flash Player 10, but I fixed that. I also did the Chrome workaround for FP10. Well, I don’t get any more errors, but I get nothing period.
Any help would be much appreciated. I apologize if I’m making you repeat yourself. I read all of the above comments and still couldn’t find a solution.
Thanks so much.
@avery -- perhaps you're having path issues loading flarConfig.xml or
ericsoco | 2011/03/08 | 6:44 pm@avery — perhaps you’re having path issues loading flarConfig.xml or some other external files. try running with FF’s LiveHTTPHeaders add-on or safari’s Activity window. also, try posting on the flarmanager forum for more help.
Hey Eric, Thanks for the suggestion. I'm not even sure how/where
Avery | 2011/03/10 | 9:23 amHey Eric,
Thanks for the suggestion. I’m not even sure how/where to fix that. I’ll definitely look on that forum, though.
Thanks again!
i just simply love you :-)
ankita | 2011/03/18 | 12:51 pmi just simply love you
you rockkkkkk i was wondering what to do with the
ankita | 2011/03/18 | 12:53 pmyou rockkkkkk i was wondering what to do with the errors and all stuff but there is one problem i get the project running but i dont know how this all is done i mean i want to know every minute detail of this if you have any complete documentation or any book please recommend
Hi Eric, desperately trying to get this to run for uni
cafc88 | 2011/04/09 | 4:43 pmHi Eric,
desperately trying to get this to run for uni work, tried a million other tutorials now for AR and nothing is working for some reason.
here; when importing the project folder, it just says it doesn’t contain a valid flash builder project..has it not unzipped properly?
windows seriously, you can’t unzip anything without a fault
cheers in advance!
@cafc88 -- the zip *does* contain a valid Flash Builder
ericsoco | 2011/04/10 | 2:24 pm@cafc88 — the zip *does* contain a valid Flash Builder project, i just verified this…not sure how to help you, sorry.
I have downloaded the source files to the Lee Brimelow
carf | 2011/04/17 | 2:16 pmI have downloaded the source files to the Lee Brimelow tutorial video and when I import the project into Flash Builder I get the following error message:
unable to open ‘/Users/brimelow/Documents/ActionScript’ HelloFLAR Unknown Flex Problem
The camera will start up when I run the program but it wont recognise the A card I hold up in front of the camera. Surely everyone gets this same error message when they install the source files as the source path is including brimelow which ofcourse is a mistake.
Can anyone help me or download the source files to the video like they are now and see if they get the same error message?
Any help will be much appreciated!!
Hi Eric, How to import flarmanager in flash builder 4.5 to
josh | 2011/06/07 | 8:15 pmHi Eric,
How to import flarmanager in flash builder 4.5 to air desktop.
Thanks
hello, i'm try this getting started but i had this
Adam | 2011/08/15 | 11:53 pmhello, i’m try this getting started but i had this error
FLARManager_v1_1_0\src\examples\FLARManagerTutorial_Collada_Away3D.as(55): col: 3: Error: unable to resolve ‘../resources/assets/mario_tex.jpg’ for transcoding
[Embed(source="../resources/assets/mario_tex.jpg")]
anyone can help me ?
thanks
Trying to dive into this and not getting very far
Stephen | 2011/10/07 | 1:56 pmTrying to dive into this and not getting very far with the example files. Running into some compile errors because certain files can’t be located, or don’t exist.
I’m not using Flash Builder, but created a new file in Flash (CS5.5). AS3 and Fp10.2. Set the document class to one of the FLARManagerExampleLauncher.as to start.
Goes through compiling and gets stuck on a variety of files. As I address one issue I create new ones. For example I moved the resources to the src folder. That fixed some issues. But now it’s having trouble correctly pathing to Away3D libs and more.
Is there another folder structure I can download that is setup and running? Thanks!
Stephen
@stephen -- nope, don't have anything tailored for the Flash
ericsoco | 2011/10/07 | 2:07 pm@stephen — nope, don’t have anything tailored for the Flash IDE. but a couple things to remember when targeting Flash Player (browser) from the Flash IDE:
- files loaded at runtime (e.g. flarConfig.xml) should be pathed relative to the swf
- source files should, i believe, be pathed relative to the main Document class. not sure about this tho cause i don’t use the Flash IDE for coding.
hth…
hi, i'm trying to get started with flashdevelop. i imported
Joe | 2012/05/04 | 10:48 pmhi, i’m trying to get started with flashdevelop.
i imported the project in default folder, didn’t change anything, and pressed “debug” button
then error occurred:
E:\Files\FL\FLARManager_v1_1_0\src\examples\FLARManagerTutorial_Collada_Away3D.as(55): col: 3: Error: unable to resolve ‘/resources/assets/mario_tex.jpg’ for transcoding
E:\Files\FL\FLARManager_v1_1_0\src\examples\FLARManagerTutorial_Collada_Away3D.as(55): col: 3: Error: Unable to transcode /resources/assets/mario_tex.jpg.
E:\Files\FL\FLARManager_v1_1_0\src\examples\FLARManagerTutorial_Collada_Away3D.as(57): col: 3: Error: unable to resolve ‘/resources/assets/mario_testrun.dae’ for transcoding
E:\Files\FL\FLARManager_v1_1_0\src\examples\FLARManagerTutorial_Collada_Away3D.as(57): col: 3: Error: Unable to transcode /resources/assets/mario_testrun.dae.
Running process: D:\Program Files\FlashDevelop\Tools\fdbuild\fdbuild.exe “E:\Files\FL\FLARManager_v1_1_0\FLARManager_v1_1_0.as3proj” -ipc 82645e49-d36b-4086-8ad6-60454adf1650 -version “4.5.1; 2.6″ -compiler “D:\Program Files\Adobe\Adobe Flash CS3\flex” -library “D:\Program Files\FlashDevelop\Library”
Building FLARManager_v1_1_0
mxmlc -load-config+=obj\FLARManager_v1_1_0Config.xml -debug=true -incremental=true -swf-version=10 -locale en_US -o obj\FLARManager_v1_1_0634718216780776314
Incremental compile of 1
Loading configuration file D:\Program Files\Adobe\Adobe Flash CS3\flex\frameworks\flex-config.xml
Loading configuration file E:\Files\FL\FLARManager_v1_1_0\obj\FLARManager_v1_1_0Config.xml
Files changed: 0 Files affected: 2
E:\Files\FL\FLARManager_v1_1_0\src\examples\FLARManagerTutorial_Collada_Away3D.as(55): col: 3: Error: unable to resolve ‘/resources/assets/mario_tex.jpg’ for transcoding
[Embed(source="/resources/assets/mario_tex.jpg")]
^
E:\Files\FL\FLARManager_v1_1_0\src\examples\FLARManagerTutorial_Collada_Away3D.as(55): col: 3: Error: Unable to transcode /resources/assets/mario_tex.jpg.
^
E:\Files\FL\FLARManager_v1_1_0\src\examples\FLARManagerTutorial_Collada_Away3D.as(57): col: 3: Error: unable to resolve ‘/resources/assets/mario_testrun.dae’ for transcoding
[Embed(source="/resources/assets/mario_testrun.dae",mimeType="application/octet-stream")]
^
E:\Files\FL\FLARManager_v1_1_0\src\examples\FLARManagerTutorial_Collada_Away3D.as(57): col: 3: Error: Unable to transcode /resources/assets/mario_testrun.dae.
^
Build halted with errors (fcsh).
(fcsh)
Done(1)
can you help me find out the reason why it cannot run? thank you so much!