AIRKinect Extension is a Native Extension for use with Adobe AIR 3.0+ on windows and OSX. It allows AIR developers to tap into the rich experience of the Microsoft Kinect and push interactivity to a new level.
The AIRKinect extension provides Flash developers all the same information and configuration as with the Kinect SDK provided by Microsoft.
Sample
if (Kinect.isSupported()) { device = Kinect.getDevice(); rgbBitmap = new Bitmap(); addChild(rgbBitmap); depthBitmap = new Bitmap(); addChild(depthBitmap); rgbSkeletonContainer = new Sprite(); addChild(rgbSkeletonContainer); depthSkeletonContainer = new Sprite(); addChild(depthSkeletonContainer); skeletonContainer = new Sprite(); addChild(skeletonContainer); device.addEventListener(DeviceEvent.STARTED, kinectStartedHandler, false, 0, true); device.addEventListener(DeviceEvent.STOPPED, kinectStoppedHandler, false, 0, true); device.addEventListener(CameraImageEvent.RGB_IMAGE_UPDATE, rgbImageUpdateHandler, false, 0, true); device.addEventListener(CameraImageEvent.DEPTH_IMAGE_UPDATE, depthImageUpdateHandler, false, 0, true); device.addEventListener(DeviceInfoEvent.INFO, onDeviceInfo, false, 0, true); device.addEventListener(DeviceErrorEvent.ERROR, onDeviceError, false, 0, true); var settings:KinectSettings = new KinectSettings(); settings.rgbEnabled = true; settings.depthEnabled = true; settings.depthShowUserColors = true; settings.skeletonEnabled = true; device.start(settings); initUI(settings); addEventListener(Event.ENTER_FRAME, enterFrameHandler, false, 0, true); }
nice!
> @as3gamegears: New: AIRKinect (native extension to use Microsoft #Kinect) http://t.co/28FGjxkj #as3 #flash #gamedev