FLAR Manager – Project file for Multiple Markers loading Multiple Collada files

Well, i decided to go one step further and give the whole project away for those who are having trouble figuring it out. Download attached file and check it out.

Please leave concerns / comments :) Thanks.

NOTE: THIS IS A FLASH BUILDER 4 VERSION.

P.S Please acknowledge if you decide to use the code.

DOWLOAD http://www.looneydoodle.com/MultiMarkerMultiCollada.zip

Previous

10 Comments (+add yours?)

  1. ike
    Jun 10, 2010 @ 09:10:41

  2. Kitsune65
    Jun 14, 2010 @ 17:25:59

    HI!
    I downloaded the Multi marker/collada.
    Created a flash file with launchMultiMarker in the Class description
    When I went to compile I received and error. Please see below. Any suggestions would be greatly appreciated!

    /Users/reynardine/Desktop/MultiMarkerMultiCollada-1/src/org/libspark/flartoolkit/support/pv3d/FLARCamera3D.as, Line 122 1020: Method marked override must override another method.
    /Users/reynardine/Desktop/MultiMarkerMultiCollada-1/src/org/libspark/flartoolkit/support/pv3d/FLARCamera3D.as, Line 41 1017: The definition of base class Camera3D was not found.

  3. lOOney dOOdle
    Jun 21, 2010 @ 13:39:58

    @ike That is my school blog.
    @kitsune65 Update your flar library, you should be fine.

  4. WARlock
    Jul 26, 2010 @ 19:24:45

    Appreciate everything, but I updated everything (I hope) and when I test scene in Flash CS5 Pro I just get a blank screen in what I hope is Flash 10.1 player as that is what I set the prefs to in the *.fla. Thoughts?

  5. WARlock
    Jul 26, 2010 @ 20:29:38

    **fixed**
    Flash CS5 was the issue. I got it working somewhat but with some DAE issues and texture loss. Checking it. I just find Fla format easier, don’t ask me why. I’m going to adapt this a bit and see what I come up with.

    lOOney dOOdle, let me know if you ever need help with modeling.

    Congrats on this btw, great share.

  6. Thangaraj
    Aug 03, 2010 @ 08:20:47

    Iam trying for Multiple Marker Multi Collada from your site.

    iam working in Flash IDE, when i Publish my FLA it showing the error

    Point.as 5007: An ActionScript file must have at least one
    externally visible definition.

    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    intrinsic class as3d.geom.Point {
    var x:Number;
    var y:Number;
    var length:Number;

    public function interpolate(pt1:Point, pt2:Point, f:Number):Point;
    public function distance(pt1:Point, pt2:Point):Number;
    public function polar(len:Number, angle:Number):Point;

    public function Point(x:Number, y:Number);
    public function clone():Point;
    public function offset(dx:Number, dy:Number):Void;
    public function equals(toCompare:Object):Boolean;
    public function subtract(v:Point):Point;
    public function add(v:Point):Point;
    public function normalize(length:Number):Void;
    public function toString():String;

    }

    Plz Help Me, Thanks in Advance.

    Thangaraj.S

  7. lOOney dOOdle
    Aug 04, 2010 @ 03:19:36

    @Thangaraj My version is compiled for Flash Builder (previously Flex)
    Recompiling FLAR in FLASH might fix your problem.

  8. Thangaraj
    Aug 07, 2010 @ 02:55:11

    Hi
    I recompiled all the files and updated my Flarmanager…..
    The final output in swf is Black Screen and this following errors.

    [FLARManager] Initing camera ‘USB Video Device’.
    [FLARManager] Initial camera validation complete…
    TypeError: Error #1034: Type Coercion failed: cannot convert Vector.@7918841 to Array.
    at com.transmote.flar::FLARManager/checkForInitComplete()
    at com.transmote.flar::FLARManager/onPatternsLoaded()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at com.transmote.flar.pattern::FLARPatternLoader/checkForLoadCompletion()
    at com.transmote.flar.pattern::FLARPatternLoader/onPatternLoaded()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()
    [FLARManager] Secondary camera validation failed for camera ‘USB Video Device’. Reiniting camera.
    Error #2044: Unhandled error:. text=Camera not found. Please check your connections and ensure that your camera is not in use by another application.Complete()

    Thanks

  9. lOOney dOOdle
    Aug 11, 2010 @ 16:22:19

    The error seems pretty straight forward to me. You need to make sure your webcam is connected and all the drivers are installed properly.

    P.S A webcam can only be used by one app at a time, so make sure another application is not using it.

  10. volker
    Aug 17, 2010 @ 03:44:04

    hey really nice, this thing.

    i test and it is really nice,
    but if i want to change the pattern,
    nothing will be detected anymore.

    thats really odd.
    perhaps someone can help me out
    thanks

    best volker

Leave a Reply