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 use in your projects.
With our experience on developing AIRKinect 1, and the feedback we got from the community, we went 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:
- You can find the core library (with the ane) and the documentation at http://as3nui.github.com/airkinect-2-core/
- The examples are at https://github.com/AS3NUI/airkinect-2-examples
- You can report bugs in the ane on https://github.com/AS3NUI/airkinect-2-core/issues
- You can report bugs in the examples on https://github.com/AS3NUI/airkinect-2-examples/issues
Happy coding!
142 Responses to “AIRKinect 2.0 is here”
Trackbacks/Pingbacks
- 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. [...]
- AIRKinectとKinect for windows中間まとめ - [...] 結論から言うと、AIRKinect2.0のチュートリアルビデオでうまくいく。 http://www.as3nui.com/airkinect-2-0-is-here/ [...]

Congrats guys! Looking forward toplaying with this.
Do you have link for gesture recognition
Great Jot
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 !
Cool, thank a lot !
You guys rock, going to chechk this out asap
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… =(
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.
Great.
Can’t wait to start building apps with it!
Thanks for your
codingafford and thanks for the great FITC2012 (Amsterdam) workshop!it works for windows?
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!!
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
)
windows 7 x64 – flash builder 4.6 – KinectSDK-v1.0
going to reinstall the drivers and check..
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 !!!
Sweeeeeeeeeeeeeeet!!!!! ><
well done gr8 job however i get this error on looking to run 3d model example
text=Error #3702: Context3D not available
i am getting all following capability as false any idea y?
haspositionConfidenceSupport=false
infraredSupport = false
hasJointOrientationSupport=false
hasJointOrientationConfidanceSupport=false
sorry for bugs
in you -app.xml must be write: direct
thanks
how do you set this? is it an element you need to add in the XML?
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.
Hi
i am getting all following capability as false any idea y?
haspositionConfidenceSupport=false
infraredSupport = false
hasJointOrientationSupport=false
hasJointOrientationConfidanceSupport=false
sorry for bugs
This is expected behaviour. The capabilities class allows you to check what features of the API are supported on your system. The windows API currently does not support positionConfidence, infrared & joint orientations.
thanks for info when can we expect these on windows ?
I can not run the RiggedModelDemo.Because the (kinectUser.head as OpenNISkeletonJoint).positionConfidence is null.May anyone help me!Thank you!
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.
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”.
Thank you for your help!I run successful!
wouter!
First ,thanks to you for us offered airkinect 2.0. When is it about the windows API support positionConfidence, infrared & joint orientations.
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.
Awesome!!! Thanks~~ Good job guys~. I’m looking forward to test this version.
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]
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
visual studio C# 2010 express install and still hav the problem..
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…
I´m having the same problem here… Have everuthing installed even Visual Studio 11 complete install.
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
! awesome job !
probably.
im using kinect for xbox
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++?
is working with C++, the problem are the C# dependencies
Confirmed… after C++ error gone…
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…
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
Is that AIRKinect 2 must be run with Kinecet PC ?
xbox360 version is not work ?
I tested on xbox kinect.
working well ><
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…
thanks
sorry but another error occures… if i add the ane to the native extensions of my project i get an error, that the extension.xml is missing or invalid.
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)
Seems that I have to set the regions to blank before adding new ones.
Gratz on the new version
just started playing with this
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
except for this
keep up the good work guys
!
Wow! Seriously great job!
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,
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!
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
Anybody found a way to have gestures on this version?
Hi,
Congrats!
Same question as Alexis Morin, what about Gestures in this new version? When shall flicks and hello gestures would be added?
Cheers
Ross,
Is it a good idea to combine V2 core classes with V1 extended classes ?
Thank’s again for all your precious tuts!
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 !
Just Worked with the Examples.
Super ultra awesome cool .
Gonna Explore deeply and keep in touch.
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
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?
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()
Do you have the drivers installed ?
Do you get kinect working with other soft on lion?
This is awesome. Keep up the good work!
In the package ,I can not find “import com.as3nui.nativeExtensions.air.kinect.constants.JointNames;”.
I found an error in the jointRotationsDemo :
drawX = drawX + Math.cos((user.leftShoulder as OpenNISkeletonJoint).orientation.z) * 100;
You can leave out the cast to an openniskeleton
. It’s this cast that is causing a nullpointerexception
Thank very much!
Hi I removed that cast, but I’m getting very strange results, disconnected line that rotate super fast.
I can run RiggedModelDemo,but I find the model is bend down! Would everyone help me!
I run in Windows 7.
we are facing the same problem too. Did anyone make it work?
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
-|m|
freaking radical ma`an. just got d kinect last week. Its so cool / precise. awesome stuff.
Hi
Great work. I have nooby question, what hardware do You use?? Is it PC version of Kinect or dedicated for Xbox?
regards
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
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
com.as3nui.nativeExtensions.air.kinect::Kinect could not be found, i’v my kinect pluged in and worked fine , why cant’ find kinect ?
Make sure you select the ‘Package’ tickbox under Project : Properties : Actionscript Build Packaging : Native Extensions
Also remember to include all the SWC’s (in core & for the examples)
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]
How do you do buttons in as3nui 2 ?
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.
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()
You need to use the ANE file, not the SWC file.
I got the same error, build is ok but null object ref at starting run…
I use KinectSDK-1.0-Beta2-x64 with Kinect for XBox 360 hardware.
I tried with both flashdevelop 4 and flashbuilder 4.6 but got the same error.
(On flashbuilder I needeed to change extension .ane to .swc to import lib correctly as explained there :
http://help.adobe.com/fr_FR/air/build/WS597e5dadb9cc1e0253f7d2fc1311b491071-8000.html).
It sounds like the Kinect for xbox is not recognized…
Does AirKinect2, KinectSDK-1.0-Beta2-x64 and XBox 360 work together ?
thx for help
you need the release of the kinect sdk. Airkinect does not work with the beta version.
Hi wouter,
Ok now AirKinect 2 examples work with Kinect SDK 1.0 non beta, on FlashDevelop.
Thx for your work,
I’m going to use it and relate my feelings.
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.md5meshat 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 :/
Solved.
Newbie error
Zoix, did you get any error when to run a character demo?
something like this : Error #2044: Unhandled ErrorEvent:. text=Error #3702: Context3D not available
Thanks
Hi Anys,
I don’ remember if there was another errors. Anyway I solved moving the “assets” folder. Now I’m from iPhone, tomorrow I’ll show you my project folder.
Hey ZoiX, can you tell me where you move the assets folder too? I am having the same problem
cheers
I’m sorry for the delay! Here the link: http://bit.ly/KiHCHs
hey thanks for that, all working.
You’re welcome
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?
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
Would everyone help me?Can airkinect run in Flash Professional cs 5.5?
I have tried CS5.5 and FB5.5 – nothing
I even tried the links:
http://help.adobe.com/en_US/air/build/WS597e5dadb9cc1e0253f7d2fc1311b491071-8000.html#WS08cc5e527b0868243ea2ffcd1314dff873a-7ffe
http://blogs.adobe.com/actionscriptdocs/2011/10/using-flash-builder-4-5-1-to-compile-an-air-app-that-uses-a-native-extension.html
but with no luck. So I do not think it is working.
See my post above for how to make it work.(FB4.6)
m
Good Job!
Is it posible to use 1280x960px resolution with this new version? I was tring during long hours and the application just crash!
Download the last dev branch at git hub, and set the resolution to a Point(1280, 960); object. I got it working fine here. (mssdk v1 + airkinect 2)
I suggest all people try to use as3nui forum at: http://forum.as3nui.com/
Can airkinect run in Flash Professional cs 5.5?
Is airkinect run in Flash Professional cs 5.5?
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
i see myself but i don’t see skeleton in win7 32bit
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,
Hey. It’s possible with THE new Flash Professional CS66?!! Post a example?
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?
Hey guys,
Is there any way to track ONLY the head without the rest of the skeleton appearing on the kinect canvas?
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
Follow the video up above. Its very detailed and it also used Flash Builder 4.6.
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
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();
}
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
Right now there isn’t a working driver for the kinect for windows for usage on OSX (with openni) that I know of. Kinect for XBox should work fine with OpenNI & AIRKinect on OSX.
thanks! so i have the wrong kinect
do you have any idea when the kinect for windows will be supported?
No idea, it’s a driver issue that’s out of our hands. You might be able to compile the drivers yourself with the adjustments from the pull request (https://github.com/avin2/SensorKinect/pull/2) as mentioned in the stackoverflow post.
i will try, that. thanks.
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 ?”
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
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
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|