transmote speaks…

design + art + code
  • portfolio
  • rss
  • Home
  • About
  • FLARManager: Augmented Reality in Flash
    • FLARManager intro
    • FLARManager documentation
    • Inside FLARManager
      • Inside FLARManager: Getting Started
      • Inside FLARManager: 2D Marker Tracking
      • Inside FLARManager: Basic Augmented Reality
      • Inside FLARManager: Loading Collada Models
      • Inside FLARManager: Customization
      • Inside FLARManager: FLARManager Miscellany
  • Contact

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:

  1. download the FLARManager bundle or checkout the freshest source.
  2. in Flex Builder’s top menu bar, go to File>Import>Flex Project.
  3. 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 Flex Builder project files (these are hidden files on OSX).
  4. uncheck ‘Use default location’ — the path you should use is the same path of ‘Project folder’.
  5. click Finish.
  6. 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. Flex Builder will rebuild the project and create your html-template folder.
  7. 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, in the /resources/flar/patterns folder. print out any or all of the 12 .png files, 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.


 
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 Flex Builder.
To target Flash Player 10 with Flex Builder, we must have version 3.2 or higher. More information here.

Alternatives to Flex Builder include:

  • Flash CS4
  • Eclipse, with the Flex SDK
  • FlashDevelop

 

FLARManager, FLARToolkit, and 3D frameworks

The FLARManager distribution includes the FLARToolkit source and the Alternativa3D, Away3D, Papervision3D, and Sandy3D frameworks (as SWCs). 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.

Use of these 3D frameworks is subject to each of their licenses.

Alternatively, if you want to get the freshest versions of all the libraries, you can do so from the following links. You’ll need an SVN client to access the latest revisions.

  • FLARManager
  • FLARToolkit
  • Away3D
  • Papervision3D
  • Sandy3D

(Alternativa3D is not open-source.)

 

SVN client

If you want to get the latest versions of FLARManager, FLARToolkit, and the 3D framework of your choice, you’ll need an SVN client. Here are some options:

OSX

  • SCPlugin
  • Versions
  • SmartSVN

Windows

  • Tortoise
  • Subversion
  • Subclipse (for use with Eclipse)

 
 
<– Inside FLARManager | 2D Marker Tracking –>



Comments rss
Comments rss
Trackback
Trackback

86 responses

Hey Eric, newb question for you here... I'm missing something

Alpay Kasal | 2009/07/01 | 1:04 pm

Hey 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 640×480xffffff 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 pm

duh, 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 pm

Hi 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 pm

definitivly, 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 am

ok, 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 am

Hi!

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 pm

Hi 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 pm

oops! 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 am

I 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 am

1084: 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 am

Okay.

Thanks for your help! ;)

Hi, fine tool and a very good summary of needed libraries

Petit | 2009/07/28 | 3:04 pm

Hi,
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 pm

Hi, 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 pm

hey 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 am

la 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 am

I 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 am

How 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 am

I’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 am

thanks 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 pm

hi,
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 am

hi, 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 am

Hi 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 am

Thanks 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 pm

hi 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 pm

thanks 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… :P

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 pm

Although… 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 pm

hey 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 pm

Update: 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 am

Hi!
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 pm

Hi,
first of all, great work :) . FLARManager really make things simple.

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 am

ericsoco,
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 pm

GOOD 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 am

Hi,

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=false

Unfortunately 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 am

I’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 am

hi,

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 am

the 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 am

hi,
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 am

Hey!
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 pm

Hello 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 am

I 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 am

I 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 am

Hey,

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 am

Hi 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 pm

Ok 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 pm

OK, 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 pm

Hi 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 am

HI,

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 am

I 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 am

I 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 am

No 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 am

When 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 pm

Im 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 pm

Hi,

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 pm

hmm, 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 am

Just 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 am

Hi,
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

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Additional comments powered by BackType

Recent Posts

  • elastotron: visage @ YBCA/TVOT weds mar 3
  • FLARManager @ FITC Toronto 2010
  • true fullscreen in AIR on OSX
  • FLAR presentation @ ARDevCamp 2009.dec.05
  • FLARManager v0.61 (augmented reality in Flash)

Tags

3d actionscript Add new tag AR ARDevCamp as3 augmented reality camera Capabilities computer vision connections culture digital elastic event handler exhibit exploratorium fiducial flar flarmanager flartoolkit flash flash player forum garbage collection generative grid interactive Keyboard marker memory mesh mirror notes papervision presentation reflection slides sputnik theory to see tracking video video mirror webcam


rss Comments rss design by jide