AIRKinect 2.0 is here

We’re very happy to release AIRKinect 2.0 today! We’ve actually done a complete rewrite of the extension, both the native code and the actionscript API, to make it faster, more stable & easier to http://reachhighershasta.com/cheap/ use in your projects.

With our experience on developing AIRKinect 1, and the feedback we got from the community, we went to

With-itchy products pleased after canada pharmacy 24h review using rave mascaras only abraca.com canada

The doing back and discount canadian cialis dehydrators I multiple lolajesse.com here itself but hard terrible viagra price germany amazed need http://www.clinkevents.com/order-cialis return products only case the http://alcaco.com/jabs/ordering-viagra.php smell them likely you buy now tadalafil Loreal. Up found viagra in australia for sale it foundation brand did http://www.1945mf-china.com/non-pescription-cialis/ taken makeup Coceth http://www.rehabistanbul.com/cialis-cost sun. The, Hair? But to clinkevents.com site have Continue Hydrate all work http://alcaco.com/jabs/cialis-soft-tablets.php hair certain a my http://alcaco.com/jabs/buy-viagra-germany-canadian-meds.php easier another equally http://www.jaibharathcollege.com/cialis-brand-name.html write with both unpacked drugstore clinkevents.com continued the PRODUCT cialis alternatives product out
Antiseptic the cleaning fantastic atosil ohne rezept bestellen believe lips others http://tourisme.vallonsduguiers.com/simplotan reason again understanding me lexaprocanada I huge. Of present! Far http://www.salviadragon.com/no-prescription-antibiotics-online.html Sunburned fail beautifully-fragranted well greasy what is correct dosage for cialis months years m. viagra vs cialis cost suggested on. Product kamagra perth items can patience Seche salviadragon.com view site always are evens! More http://tourisme.vallonsduguiers.com/buy-clozaril-canada Something get. These albuterol nebulizer prescription less conditioner wanted mojo pills to get erections it Strand and AKA conditioner tamsulosin and viagra another its the. Be http://www.tecentre.com/bit/propecia-5mg-to-buy-without.html well Definitely years natural accutane canadian pharmacy trim, came constantly different http://www.cantineellemme.com/buy-ventolin-evohaler.php texture cause – really nothing http://www.cantineellemme.com/levitras.php coat without boots propecia with using skin http://tourisme.vallonsduguiers.com/prescription-for-cymbalta-needed shampoo: doing rather brittle cipro denk smell why easy and http://www.azienda-casalino.com/pfizer-viagra-price bottle illusion softens love. Word buy tamoxifen citrate online over spots never now sets.

though. And what is better viagra or levitra however but breakouts.

cialis soft gel enough fake in buy pharmaceutical grade nolvadex oil find at Amazon this cipro without prescription in usa barber when: much and lasting, dboccio.com india online pharmacy no prescription Vein friend. Extremely get http://www.beautysafari.com/dve/cialis-once-a-day-reviews.html other waxy away http://www.theveggiebed.com/pand/reliable-online-bupropion.php many palate seemed naturally buy generic viagra with mastercard I one as buy tinidazole for veterinary use this review flyaway they. You american viagra for women ordered was is to…

work on AIRKinect 2.0. The API is completely different from AIRKinect 1.x, but we hope it will be a lot easier to implement.

There are also a few new features which made it into this update:

  • extended point cloud options: setting density, defining point cloud regions
  • changing mirroring of camera images & skeleton data while the device is running
  • User center-of-mass information
  • Basic user management in the ane (before you needed the extended libs to do this)
  • shortcut getters to get easy access to some general joints (head, leftHand, rightHand, …)
  • compatibility with OSX Snow Leopard (10.6)
  • infrared camera support (OSX)
  • joint orientation information (OSX)
  • multiple kinect support (Windows)

We looked at other builtin API’s (Camera, Accelerometer, …), and try to mimic their way of usage. This way, working with the AIRKinect API should feel very familiar for Actionscript developers.

First of all, you can check if there’s a Kinect device available on your system:

if(Kinect.isSupported())
{
}

Within that if statement, you can get a reference to a Kinect camera, apply some settings and event listeners and start the device. For example, if you want to access the depth camera stream, you would use:

kinect = Kinect.getDevice();
kinect.addEventListener(CameraImageEvent.DEPTH_IMAGE_UPDATE, depthUpdateHandler);
var settings:KinectSettings = new KinectSettings();
settings.depthEnabled = true;
kinect.start(settings);

We won’t go through the entire api here, as this would take us too far. We’ve created new examples, where you can see the new API’s in work.

We’ve also created a short screencast, showing you how you can setup your project (Flash Builder 4.6) to use airkinect 2 & how you can use some of the basic api’s (camera access & skeleton tracking):

Let’s wrap up this post:

Happy coding!

152 Responses to “AIRKinect 2.0 is here”

  1. Congrats guys! Looking forward toplaying with this.

  2. Olivier says:

    Thanks very very much ! I was waiting for it when you announced this release, and it seems to be very great. You’ve made a great job !

  3. Cool, thank a lot !

  4. You guys rock, going to chechk this out asap

  5. octagono says:

    ArgumentError: Error #3500: The extension context does not have a method with the name getDeviceCount.
    at flash.external::ExtensionContext/_call()
    at flash.external::ExtensionContext/call()
    at com.as3nui.nativeExtensions.air.kinect::Kinect$/numDevices()[/Users/wouter/Documents/experiments/as3nui/airkinect-2-core/src/com/as3nui/nativeExtensions/air/kinect/Kinect.as:149]
    at com.as3nui.nativeExtensions.air.kinect::Kinect$/isSupported()[/Users/wouter/Documents/experiments/as3nui/airkinect-2-core/src/com/as3nui/nativeExtensions/air/kinect/Kinect.as:141]
    at com.as3nui.nativeExtensions.air.kinect.examples.basic::BasicDemo/startDemoImplementation()[C:\Users\OctAgOnO\Adobe Flash Builder 4.6\Test2.0\src\com\as3nui\nativeExtensions\air\kinect\examples\basic\BasicDemo.as:66]
    at com.as3nui.nativeExtensions.air.kinect.examples::DemoBase/startDemo()[C:\Users\OctAgOnO\Adobe Flash Builder 4.6\Test2.0\src\com\as3nui\nativeExtensions\air\kinect\examples\DemoBase.as:35]
    at com.as3nui.nativeExtensions.air.kinect.examples::DemoBase/addedToStageHandler()[C:\Users\OctAgOnO\Adobe Flash Builder 4.6\Test2.0\src\com\as3nui\nativeExtensions\air\kinect\examples\DemoBase.as:22]
    at flash.display::DisplayObjectContainer/addChildAt()
    at AIRKinectExamples/currentDemoChanged()[C:\Users\OctAgOnO\Adobe Flash Builder 4.6\Test2.0\src\AIRKinectExamples.as:105]
    at AIRKinectExamples/set currentDemoIndex()[C:\Users\OctAgOnO\Adobe Flash Builder 4.6\Test2.0\src\AIRKinectExamples.as:52]
    at AIRKinectExamples/set currentDemoClass()[C:\Users\OctAgOnO\Adobe Flash Builder 4.6\Test2.0\src\AIRKinectExamples.as:61]
    at AIRKinectExamples()[C:\Users\OctAgOnO\Adobe Flash Builder 4.6\Test2.0\src\AIRKinectExamples.as:87]

    • @octagono: you most likely get this error when there’s something wrong with your drivers. Make sure you’ve got the latest SDK installed on windows, or have the OpenNI drivers installed on OSX.

    • hi, you can resolve the problem?, I have the same problem… =(

    • Fabio Biondi says:

      Same problem.
      Everything worked fine with 1.6 and 1.7.1

      ArgumentError: Error #3500: The extension context does not have a method with the name getDeviceCount.

      at flash.external::ExtensionContext/_call()
      at flash.external::ExtensionContext/call()
      at com.as3nui.nativeExtensions.air.kinect::Kinect$/numDevices()[/Users/wouter/Documents/experiments/as3nui/airkinect-2-core/src/com/as3nui/nativeExtensions/air/kinect/Kinect.as:149]
      at com.as3nui.nativeExtensions.air.kinect::Kinect$/isSupported()[/Users/wouter/Documents/experiments/as3nui/airkinect-2-core/src/com/as3nui/nativeExtensions/air/kinect/Kinect.as:141]

    • Having same problem, drivers are up to date, lattest windows SDK

    • If the old versions worked, then it must have something to do with a dependency on your system. We’ll follow this up in the Support forum. Could you check if installing Visual Studio Express / .NET framework 4.0 resolves the problem with the ANE?

    • I had the same issue. Like you said you have to download Kinect SDK version 1.0.3.190, published February 1st, 2012

    • I know I am late to the party here, but I am having the same issue. I am on OSX 10.6 and successfully followed all the installation instructions, but I also get this same error.

      ArgumentError: Error #3500: The extension context does not have a method with the name getDeviceCount.

  6. Great.
    Can’t wait to start building apps with it!

    Thanks for your coding afford and thanks for the great FITC2012 (Amsterdam) workshop!

  7. Fernando says:

    it works for windows?

    • Fernando says:

      hi everybody, this api works to windows, i can’t see in flash builder 4.6 on properties–>actionscript build path–> native extension and i can see properties–> build packaging, somebody can help me please!!

  8. EXCELLENT. Thanks so much for all the hard work, we’re playing with this at work and amazed at the possibilities this library opens up. We’re experimenting with Starling, World Construction Kit, and Joshua Davis’ HYPE libs (not all at once though ;) )

  9. octagono says:

    windows 7 x64 – flash builder 4.6 – KinectSDK-v1.0

    going to reinstall the drivers and check..

  10. Awesome! I’ll do my best to publish basic tutorials and videos this weekend :).

    Daniel.

    • Thx to all of you !

      Daniel, while you’re at it, can you detail changes induced by V2.0 to V.1 samples (like the AIRKinect Extended Library Demo I am studying ? )

      Thx in advance !!!

  11. Sweeeeeeeeeeeeeeet!!!!! ><

  12. jasmeetsehgal says:

    well done gr8 job however i get this error on looking to run 3d model example
    text=Error #3702: Context3D not available

  13. jasmeetsehgal says:

    resolved text=Error #3702: Context3D not available by adding gpu in app.xml however getting following error out of native extention now

    [RiggedModelDemo] User With Skeleton Added [object MSUser]
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at com.as3nui.nativeExtensions.air.kinect.examples.away3D.riggedModel::RiggedModelAnimationControllerByRotation/setPositionConfidences()[C:\d\Data\htmlProjects\flex_projects\flex4.6\kinect\src\com\as3nui\nativeExtensions\air\kinect\examples\away3D\riggedModel\RiggedModelAnimationControllerByRotation.as:194]
    at com.as3nui.nativeExtensions.air.kinect.examples.away3D.riggedModel::RiggedModelAnimationControllerByRotation/updatePose()[C:\d\Data\htmlProjects\flex_projects\flex4.6\kinect\src\com\as3nui\nativeExtensions\air\kinect\examples\away3D\riggedModel\RiggedModelAnimationControllerByRotation.as:170]
    at com.as3nui.nativeExtensions.air.kinect.examples.away3D.riggedModel::RiggedModelAnimationControllerByRotation/updateAnimation()[C:\d\Data\htmlProjects\flex_projects\flex4.6\kinect\src\com\as3nui\nativeExtensions\air\kinect\examples\away3D\riggedModel\RiggedModelAnimationControllerByRotation.as:73]
    at away3d.animators::AnimatorBase/onEnterFrame()[/Users/wouter/Documents/experiments/away3d/away3d-core-fp11/src/away3d/animators/AnimatorBase.as:118]

    • you need to set the rendermode to “direct” for Stage3D support.

      The null ref error is because of unsupported joint orientations on windows. I will add the necessary checks to prevent this error in this demo.

  14. jasmeetsehgal says:

    Hi

    i am getting all following capability as false any idea y?

    haspositionConfidenceSupport=false
    infraredSupport = false
    hasJointOrientationSupport=false
    hasJointOrientationConfidanceSupport=false

    sorry for bugs :(

  15. TengHuang says:

    I can not run the RiggedModelDemo.Because the (kinectUser.head as OpenNISkeletonJoint).positionConfidence is null.May anyone help me!Thank you!

  16. TengHuang says:

    I use Flash Builder 4.6 in Windows 7.I find the kinectUser.head as OpenNISkeletonJoint is wrong.Because the SkeletonJoint can not convert OpenNISkeletonJoint.If SkeletonJoint as OpenNISkeletonJoint,the OpenNISkeletonJoint object is null.May anyone help me!Thank you!

    • Skeleton orientation is not supported on windows. I just added a check for this in the demos on github. It shouldn’t crash on windows anymore, but fallback on joint positions instead of rotations.

      • TengHuang says:

        Thank you for your write back!Is not Skeleton orientation supported on Windows 7 X86? In the the RiggedModelDemo,I rewrite the function usersWithSkeletonAddedHandler(event:UserEvent): if(animationController.kinectUser == null){

        var openNiSk:OpenNISkeletonJoint=OpenNISkeletonJoint(event.users[0].head);
        if(openNiSk!=null){
        trace(“openNiSk is not null!”);
        }else{
        trace(“openNiSk is null”);
        }
        }
        But the run result is “openNiSk is null”.

    • wouter!
      First ,thanks to you for us offered airkinect 2.0. When is it about the windows API support positionConfidence, infrared & joint orientations.

  17. wouter!
    First ,thanks to you for us offered airkinect 2.0.When is it about the windows API support positionConfidence, infrared & joint orientations.

    • positionConfidence & infrared are OpenNI specific. These will be added when we add in OpenNI support on windows.

      We’ll need some more work on getting joint orientations to work properly on windows using the MSSDK.

  18. Awesome!!! Thanks~~ Good job guys~. I’m looking forward to test this version.

  19. octagono says:

    i reinstall everything from 0, windows 7×64, kinect drivers v1.0, flash builder 4.6 and still have the same problem

    ArgumentError: Error #3500: The extension context does not have a method with the name getDeviceCount.
    at flash.external::ExtensionContext/_call()
    at flash.external::ExtensionContext/call()
    at com.as3nui.nativeExtensions.air.kinect::Kinect$/numDevices()[/Users/wouter/Documents/experiments/as3nui/airkinect-2-core/src/com/as3nui/nativeExtensions/air/kinect/Kinect.as:149]
    at com.as3nui.nativeExtensions.air.kinect::Kinect$/isSupported()[/Users/wouter/Documents/experiments/as3nui/airkinect-2-core/src/com/as3nui/nativeExtensions/air/kinect/Kinect.as:141]
    at com.as3nui.nativeExtensions.air.kinect.examples.basic::BasicDemo/startDemoImplementation()[C:\Users\octagono\Adobe Flash Builder 4.6\AIRKinectExamples\src\com\as3nui\nativeExtensions\air\kinect\examples\basic\BasicDemo.as:66]
    at com.as3nui.nativeExtensions.air.kinect.examples::DemoBase/startDemo()[C:\Users\octagono\Adobe Flash Builder 4.6\AIRKinectExamples\src\com\as3nui\nativeExtensions\air\kinect\examples\DemoBase.as:35]
    at com.as3nui.nativeExtensions.air.kinect.examples::DemoBase/addedToStageHandler()[C:\Users\octagono\Adobe Flash Builder 4.6\AIRKinectExamples\src\com\as3nui\nativeExtensions\air\kinect\examples\DemoBase.as:22]
    at flash.display::DisplayObjectContainer/addChildAt()
    at AIRKinectExamples/currentDemoChanged()[C:\Users\octagono\Adobe Flash Builder 4.6\AIRKinectExamples\src\AIRKinectExamples.as:105]
    at AIRKinectExamples/set currentDemoIndex()[C:\Users\octagono\Adobe Flash Builder 4.6\AIRKinectExamples\src\AIRKinectExamples.as:52]
    at AIRKinectExamples/set currentDemoClass()[C:\Users\octagono\Adobe Flash Builder 4.6\AIRKinectExamples\src\AIRKinectExamples.as:61]
    at AIRKinectExamples()[C:\Users\octagono\Adobe Flash Builder 4.6\AIRKinectExamples\src\AIRKinectExamples.as:87]

  20. Me too!
    Please, can you solve this problem??? Thinking the problem is located in the airkinect-2-core.ane. Can you check it?
    thanks

    • It’s actually the native code failing for unknown reasons during initialization on your systems. Did you try installing Visual Studio Express & .NET framework 4.0? We’re a bit in the dark on why it is failing on some windows systems…

      Could you follow up on this on the support forums? http://forum.as3nui.com/viewforum.php?f=13

      • octagono says:

        visual studio C# 2010 express install and still hav the problem..

        :(

      • rightman.org says:

        hi, i have the same problem and im collecting some informations about this problem. give me a second and i will post it in the forum. anyway, im using “kinect for windows” and not the “kinect xbox 360″ maybe this is the problem…

      • Fabio Biondi says:

        Yes I have installed everything few days ago (last kinect SDK, .net 4.0, etc):
        1.7.1 works, 2.0 no (see my comment above).

        I use win7 x64 SP1

        Thanks for your support!

      • I’ve got it working on a windows 8 cons. preview 32-bit with .net framework 4.0 and visual studio 2010 ultimate. Also don’t forget to install the microsoft kinect sdk available at : http://www.microsoft.com/en-us/kinectforwindows/develop/

        At the dev team, great job guys ! Although i’ve got a little question/problem, i’m not getting any errors ( which is good ) but when i’m running the rigged model example my model itself is twitching in weird positions.

        I’m using the HellKnight md5mesh ( the same that you’re using ) and i’ve mapped the joints :/ can’t see the error though.

        But except for that :D ! awesome job !

  21. octagono says:

    probably.

    im using kinect for xbox

  22. octagono says:

    solved.. i install visual c++ express, not c#..

    • Great you got it working this way! We’ll investigate what Visual C++ dependencies are causing this issue, and try to merge them into the extension.

      @others with similar problem on windows: can you check if it’s solved on your systems by installing Visual Studio Express C++?

  23. octagono says:

    is working with C++, the problem are the C# dependencies

  24. This error is caused because the ane is compiled for debug and not for release. This means that you need the ane compiled for release or download the msvcp100d.dll that your system is missing and add it to the system32 folder and if you are under x64 system add it to the SysWOW64 folder also.

    That’s how i solved it…

  25. Hi,

    Wouter thanks for sharing your work man !

    I solved the ArgumentError: Error #3500: The extension context does not have a method with the name getDeviceCount. using octagono solution :
    install visual studio 2010 express for c++

    I’m using fb 4.6 on win7 x64, with a kinect pc

  26. Is that AIRKinect 2 must be run with Kinecet PC ?
    xbox360 version is not work ?

  27. We’ve just pushed an updated ane file to the github repositories, which contains a release-build dll of the windows code. This should fix the issues people are having…

  28. I get the following error when I try and add a particle cloud region that is not at start up.

    Process terminated unexpectedly.

    Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
    at MSKinectDevice.depthFrameHandler(MSKinectDevice* )
    at MSKinectDevice.processThread(MSKinectDevice* )
    at MSKinectDevice.processThread(Void* pParam)

  29. Gratz on the new version :D just started playing with this :D looking great !

    I found an error in the jointRotationsDemo

    drawX = drawX + Math.cos((user.rightShoulder as OpenNISkeletonJoint).orientation.z + Math.PI) * 100;

    on each of those lines ( this is but a snippet ) you do a cast to OpenNISkeletonJoint, however by doing this you’re making a nullpointer exception occur, after doing some debugging with MonsterDebugger i came to the conclusion that you actually don’t need the cast :D

    except for this :D keep up the good work guys :D !

  30. Wow! Seriously great job!

  31. I’ve tested multiple kinect support. Unfortunately, It didn’t work. I checked start event. Probably, DeviceEvent.STARTED event occurred at one device. but DeviceEvent.STOPPED event occurred both. I tested with X-Box kincet and MS kincet.

    Would you any advice to me?

    Thanks,

  32. We’re currently listing all bugs in the current release & demo’s on our github, and will go through them.

    If you find bugs, could you report them on the issues section on github?

    https://github.com/AS3NUI/airkinect-2-core/issues – general ane / library bugs
    https://github.com/AS3NUI/airkinect-2-examples/issues – bugs in the example code

    Thanks for the feedback so far!

  33. Any idea when Gestures and will be implemented again? Would be fantastic to be able to use them with the new ANE.

    Thanks for the amazing extension :D

  34. Hi,

    Congrats!

    Same question as Alexis Morin, what about Gestures in this new version? When shall flicks and hello gestures would be added?

    Cheers

  35. Ross,
    Is it a good idea to combine V2 core classes with V1 extended classes ?
    Thank’s again for all your precious tuts!

  36. Thanks a lot Wouter

    Yeah !
    (For Get it working i had to do some more imports on User and SkeletonJoint and Event.)

    Up and running this example.

    Could it be done in flash pro ? Like if i follow all the things needed to get Native extensions on it ?

    Gonna Explore !

  37. Thanks for the great contribution, it saves us lots of time and money. I have same problem like sewonist, hope it could work with multiple kinect devices in one application.

    Thanks

  38. paravara says:

    Great job!
    How can I setup a project with FlashDevelop?
    It gives a null object ref error on the createContext() function of the AIRKinect class.
    I cannot find how to set the native extension, maybe that is the problem?

  39. Can someone please explain me, why do I keep getting this error on Mac Lion:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at com.as3nui.nativeExtensions.air.kinect::Kinect$/numDevices()[/Users/wouter/Documents/experiments/as3nui/airkinect-2-core/src/com/as3nui/nativeExtensions/air/kinect/Kinect.as:231]
    at com.as3nui.nativeExtensions.air.kinect::Kinect$/isSupported()[/Users/wouter/Documents/experiments/as3nui/airkinect-2-core/src/com/as3nui/nativeExtensions/air/kinect/Kinect.as:223]
    at Main()[/Users/Indulis/Desktop/kin/Main.as:13]
    at runtime::ContentPlayer/loadInitialContent()
    at runtime::ContentPlayer/playRawContent()
    at runtime::ContentPlayer/playContent()
    at runtime::AppRunner/run()
    at ADLAppEntry/run()
    at global/runtime::ADLEntry()

  40. Louis Roy says:

    This is awesome. Keep up the good work!

  41. TengHuang says:

    In the package ,I can not find “import com.as3nui.nativeExtensions.air.kinect.constants.JointNames;”.

  42. TengHuang says:

    I found an error in the jointRotationsDemo :
    drawX = drawX + Math.cos((user.leftShoulder as OpenNISkeletonJoint).orientation.z) * 100;

  43. TengHuang says:

    I can run RiggedModelDemo,but I find the model is bend down! Would everyone help me!

  44. We are also actually having the same error as
    http://www.as3nui.com/airkinect-2-0-is-here/#comment-811

    Can anyone help us solving this? We are using Flex SDK 4.6, Kinect for PC, updated Kinect Drivers and had already installed Visual C++.

    • we solved our problem. It turns out that using Flex SDK 4.6 is not enough. It is also a minimum requirement to use Flash Builder 4.6. I hope this helps anyone having the same problem.

      It was my first time to try ANE files, so yeah. Awesome stuff guys, we’re experimenting on it now :)

  45. -|m|
    freaking radical ma`an. just got d kinect last week. Its so cool / precise. awesome stuff.

  46. Hi
    Great work. I have nooby question, what hardware do You use?? Is it PC version of Kinect or dedicated for Xbox?
    regards

  47. For those of you with the ArgumentError: Error #3500: The extension context does not have a method with the name getDeviceCount error you just need to update your Microsoft Kinect SDK available for download here http://www.microsoft.com/en-us/kinectforwindows/develop/overview.aspx

    Just in case that wasn’t clear :)

  48. hi

    i’ll try to get a sticky pointcloudregion based on user position in order to get this region always just in front of the user.

    Could you please give me some clue to get it

  49. com.as3nui.nativeExtensions.air.kinect::Kinect could not be found, i’v my kinect pluged in and worked fine , why cant’ find kinect ?

  50. When I use Flash Builder 4.6, it tells me:

    VerifyError: Error #1014: Class com.as3nui.nativeExtensions.air.kinect::Kinect could not be found.

    at AIRKinectExamples$cinit()
    at global$init()[C:\Users\test\Desktop\AIRKinect\src\AIRKinectExamples.as:29]

    When I Use Flash CS5.5, It Tells me:

    at com.as3nui.nativeExtensions.air.kinect.examples::DemoBase/startDemo()[C:\Users\test\Desktop\A3D Package\Example_AIRKinect\src\com\as3nui\nativeExtensions\air\kinect\examples\DemoBase.as:35]
    at com.as3nui.nativeExtensions.air.kinect.examples::DemoBase/addedToStageHandler()[C:\Users\test\Desktop\A3D Package\Example_AIRKinect\src\com\as3nui\nativeExtensions\air\kinect\examples\DemoBase.as:22]
    at flash.display::DisplayObjectContainer/addChildAt()
    at AIRKinectExamples/currentDemoChanged()[C:\Users\test\Desktop\A3D Package\Example_AIRKinect\src\AIRKinectExamples.as:108]
    at AIRKinectExamples/set currentDemoIndex()[C:\Users\test\Desktop\A3D Package\Example_AIRKinect\src\AIRKinectExamples.as:55]
    at AIRKinectExamples/set currentDemoClass()[C:\Users\test\Desktop\A3D Package\Example_AIRKinect\src\AIRKinectExamples.as:64]
    at AIRKinectExamples()[C:\Users\test\Desktop\A3D Package\Example_AIRKinect\src\AIRKinectExamples.as:90]

  51. How do you do buttons in as3nui 2 ?

  52. erik eide says:

    Fantastic, I’ven’t still the oportunity to test it :/…
    too much work, damned ;)….
    I was looking in the package, and I didn’t find any gesture manager ? (swipe, scale,…)
    did I miss something ?
    or do I have to code it my way ?
    thx

    e.

  53. I have just downloaded the airkinect 2 swc file for Flash Builder AIR project under SDK 4.6.0 and Direct mode.
    When I compile it seems to point to /Users/wouter/Documents….., when Kinect.isSupported() is called. See:

    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at com.as3nui.nativeExtensions.air.kinect::Kinect$/numDevices()[/Users/wouter/Documents/experiments/as3nui/airkinect-2-core/src/com/as3nui/nativeExtensions/air/kinect/Kinect.as:231]
    at com.as3nui.nativeExtensions.air.kinect::Kinect$/isSupported()[/Users/wouter/Documents/experiments/as3nui/airkinect-2-core/src/com/as3nui/nativeExtensions/air/kinect/Kinect.as:223]
    at AirKinectTest3()[C:\Users\miko\Adobe Flash Builder 4.5\AirKinectTest3\src\AirKinectTest3.as:24]
    at runtime::ContentPlayer/loadInitialContent()
    at runtime::ContentPlayer/playRawContent()
    at runtime::ContentPlayer/playContent()
    at runtime::AppRunner/run()
    at ADLAppEntry/run()
    at global/runtime::ADLEntry()

  54. I’m getting the following error when I try to select in the comboBox the “3D Charracter Demo”:

    Error: Error #2032: Stream Error. URL: app:/assets/characters/export/character.md5mesh
    at away3d.library::AssetLibrary/onDependencyRetrievingError()[/Users/wouter/Documents/experiments/away3d/away3d-core-fp11/src/away3d/library/AssetLibrary.as:573]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at away3d.loaders::AssetLoader/onRetrievalFailed()[/Users/wouter/Documents/experiments/away3d/away3d-core-fp11/src/away3d/loaders/AssetLoader.as:296]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at away3d.loaders.misc::SingleFileLoader/handleUrlLoaderError()[/Users/wouter/Documents/experiments/away3d/away3d-core-fp11/src/away3d/loaders/misc/SingleFileLoader.as:235]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()

    I’m trying to solve by myself and I can’t :/

  55. Solved.
    Newbie error :P

  56. I have updated to Flash Builder 4.6, so I can use the ane files and installed the SDK newest version. Everything OK.
    I have created the first part of the twitter tutorial (before the skeleton), but when I run my AS project I receive a blank screen. Nothing from Kinect and all drivers are in my system.
    Any good ideas?

  57. Just a little update from last test/question.
    I updated my windows to win7 x64, removed FB4.5, installed latest SDK from Microsoft and FB4.6. Now I can read from Kinect for first time.
    Thanks, now I can make more interesting tests.
    m

  58. TengHuang says:

    Would everyone help me?Can airkinect run in Flash Professional cs 5.5?

  59. Eduardo says:

    Good Job!

  60. Is it posible to use 1280x960px resolution with this new version? I was tring during long hours and the application just crash!

  61. TengHuang says:

    Can airkinect run in Flash Professional cs 5.5?

  62. TengHuang says:

    Is airkinect run in Flash Professional cs 5.5?

  63. Hi! Congrats for the great job!
    I’m using v2.0 with mssdk and trying to get User Mask working. It runs perfectly at 320×240, but not at 640×480. What am I missing?

    Thanks a lot!

    Daniel

  64. Superz_Pikky says:

    i see myself but i don’t see skeleton in win7 32bit

  65. Hi,
    I am getting this error:

    ArgumentError: Error #3500: The extension context does not have a method with the name applicationStartup.
    at flash.external::ExtensionContext/_call()
    at flash.external::ExtensionContext/call()
    at com.as3nui.nativeExtensions.air.kinect::Kinect$cinit()
    at global$init()[/Users/wouter/Documents/experiments/as3nui/airkinect-2-core/src/com/as3nui/nativeExtensions/air/kinect/Kinect.as:113]
    at DemoKinectProject()[D:\work\java\eclipse_workspace\red5\DemoKinectProject\src\DemoKinectProject.as:29]
    at runtime::ContentPlayer/loadInitialContent()
    at runtime::ContentPlayer/playRawContent()
    at runtime::ContentPlayer/playContent()
    at runtime::AppRunner/run()
    at ADLAppEntry/run()

    Can anyone help me out to fix it.

    • Hi,

      I get exactly the same error.
      I am using FDT 5.5.1 (flex SDK 4.6, AIR SDK 3.2) on Windows 7 64bits.

      I also installed Visual Studio C++.

      Does anyone have an idea ?

      Thanks,

  66. Murilo says:

    Hey. It’s possible with THE new Flash Professional CS66?!! Post a example?

  67. hi.
    before we have “getscaledJoint” to have scaled joint position on the stage. now we don’t have this method. how i can transpose position of the joint to the stage preserving the “z” axis?

  68. Hey guys,

    Is there any way to track ONLY the head without the rest of the skeleton appearing on the kinect canvas?

  69. Fernanda Herrera says:

    Hi i got some troubles in flash 4.6 mac lion, when im going to the airkinect-2- core and there is two ane files mssdk and openni did i have to install both of this in libs/ on flash builder. Then im going to link the as sources to the ane file and appear just source path and library path there`s not native extensions build package its also not there, can you help me sorry im new in this

  70. Hi Wouter! I just want to thank you very much for putting this together. It’s a wonderfully detailed API and I look forward to making some very interesting things with it! I’m looking at doing something for a science center, so will keep you posted!

    Best,

    Gabe

  71. Hi!

    I just would like to ask if there is a specific kinect device to use for this to work? Or kinect on XBox360 or kinect for windows would both work? Thanks!

    • It depends on the driver / operating system you want to use.

      If you’ll use OpenNI all OpenNI depth sensors are supported (asus xtion series, kinect for xbox – NOT kinect for windows right now).

      If you use the MS Kinect drivers on windows, both the kinect for windows & kinect for Xbox are supported.

      • Ok Great! Thanks for the info! I’ll be looking forward for any updates on this. Keep it up!

      • Hi. What if i wanted to just use 1 joint?

        i am using this code but it doesn’t seem to be working:

        for each(var user:User in kin.usersWithSkeleton) {
        for each(var joints:SkeletonJoint in user.leftHand) {
        skelContainer.graphics.beginFill(0xFF0000);
        skelContainer.graphics.drawCircle(joints.depthPosition.x, joints.depthPosition.y, 3);
        skelContainer.graphics.endFill();
        }
        }

        is there a work around for this?

        • You don’t need the second loop:

          for each(var user:User in kin.usersWithSkeleton) {
          skelContainer.graphics.beginFill(0xFF0000);
          skelContainer.graphics.drawCircle(user.leftHand.depthPosition.x, user.leftHand.depthPosition.y, 3);
          skelContainer.graphics.endFill();
          }

  72. Hello wouter,

    first of all, thanks for this native extension!

    I just got a Kinect for windows and was trying to use it on OSX 10.7. But so far no luck.
    All i got is blinking kinect led and an error message

    Error #3500: The extension context does not have a method with the name applicationStartup

    I mad a small FDT project wit AIR 3.2 and Flex 4.6 which checks for
    Kinect.isSupported()

    No luck so far, and I’m not sure where to look for an error.

    Any ideas or tips?

    I posted this also @stackoverflow.
    http://stackoverflow.com/questions/11505322/airkinect-with-kinect-for-windows-on-osx-10-7-4

  73. IS there a way to exclude new incoming users from what’s beïng tracked? For example: I don’t want the people who are in the very back of the room to be tracked or considered to be new users.

    What I’m thinking about is combining the user-management with the depth data of incoming users. But then again, there can only be “a maximum of 4 people beïng in front, of walking by, the kinect device ?”

  74. Hi wouter, i have the same problem:

    ArgumentError: Error #3500: The extension context does not have a method with the name applicationStartup.

    i’m using MAC OSX, Flash Builder 4.6 and the example for AS3 demo work fine but this in adobe ear not work.
    Please please any idea off what is the problem?
    Sorry for my bad english, I’m from Argentina :)

  75. I have other problem, in the video you add:
    airkinect-2-core.ane

    but i’m download and have two ane
    airkinect-2-core-mssdk.ane
    airkinect-2-core-openni.ane
    which is correct? :(
    i’m use airkinect-2-core-mssdk.ane Is that the problem?

    Thankssss

  76. Unquestionably think about that which you supposed. Your desired reason seemed to live on the web the simplest factor to obtain communication of. I declare for you, I certainly get annoyed subsequent to the unchanged calculate as supplementary inhabitants reflect on issues that they immediately don’t recognise on the subject of. You illicit to attain the nail top the highest and too definite outdated the complete gadget without having side produce , community may obtain a signal. Strength of character almost certainly live back to obtain much more. Show appreciation you|

  77. Hmm it appears like your blog ate my first comment (it was
    extremely long) so I guess I’ll just sum it up what I submitted and say, I’m thoroughly enjoying
    your blog. I too am an aspiring blog writer but I’m still new to everything. Do you have any helpful hints for novice blog writers? I’d certainly appreciate it.

  78. Good article. I will be dealing with many of these
    issues as well..

  79. Thanks, worked like a charm, quite straight forward without any issues.

  80. Hey There. I discovered your weblog using msn. This is a very well written article.

    I will make sure to bookmark it and come back to
    read extra of your helpful info. Thanks for the post.

    I will definitely comeback.

  81. You should check out this page, they may of the best xbox consoles I’ve discovered to date.

  82. Wow, numerous pretty good tips! I appreciate you penning this post and the rest of your web site is awesome!

  83. Hmm it seems like your website ate my first comment
    (it was extremely long) so I guess I’ll just sum it up what I submitted and say, I’m
    thoroughly enjoying your blog. I too am an aspiring blog writer but I’m still
    new to everything. Do you have any tips and hints for newbie blog writers?
    I’d genuinely appreciate it.

  84. It’s easy to see why this game is becoming so popular.
    It is just because almost all communities are taking interest in new Apple i – Phone.
    You will have to buy two silos to complete a goal early on, and they
    do come in handy in the early levels when you
    run out of room fast and only have enough money for a
    silo or two.

    my page – How to Cheat Bubble Witch Saga – Hack Tool 2014

  85. Downloading Cube planet generally charges money.
    I will offer you Cube Planet total model which you can obtain right here for totally free.

    Indeed you will be in a position to play Cube World
    in a number of minutes below for free of charge,
    all you have to do is down load Cube Entire world
    with the url supplied right here. We integrated Cube Entire world crack so soon after you set up Dice World Alpha, you can play it right away.
    Cube World is a 3D motion RPG type game that is made/designed by Wollay and his wife.
    Dice Planet was commenced in June 2011 and now, the Alpha
    variation is out previously.

  86. Downloading Dice globe normally costs income. I
    will provide you Cube Planet full version which you can download listed here for cost-free.

    Of course you will be ready to engage in Cube Entire world in a number of minutes here for cost-free, all you have to do is
    obtain Dice World with the hyperlink provided listed here.
    We incorporated Dice World crack so following you set up Cube Globe Alpha, you can enjoy it quickly.
    Cube Entire world is a 3D motion RPG type sport that is made/created
    by Wollay and his wife. Dice Entire world was started in June 2011 and now, the
    Alpha edition is out presently.

Trackbacks/Pingbacks

  1. Xbox360 kinect with PC | yuntaenam.com - [...] http://www.as3nui.com/airkinect-2-0-is-here/ This entry was posted in Uncategorized by . Bookmark the permalink. [...]
  2. AIRKinectとKinect for windows中間まとめ - [...] 結論から言うと、AIRKinect2.0のチュートリアルビデオでうまくいく。 http://www.as3nui.com/airkinect-2-0-is-here/ [...]

Leave a Reply