something in the way

a tumblog about design + code
Dec 10

flKinect: Socket server + AS3 library for Microsoft Kinect


Media_httpapitweetmem_ufsff

Well… Now I may just have to get myself a Microsoft Kinect! I saw on Saqoosha’s blog that he was playing around with this and thought I would post this here. Koji Kimura wrote a Cocoa application to allow communication between the Microsoft Kinect and Flash. It looks amazing and opens up a whole new world of possibilities and it looks like the AS3 API is also very easy to use!

Media_httpwwwwebkitch_aefdg

More info and downloads on Koji’s site.

As you may have guessed it is Mac only. If you know of any similar projects for Windows or Linux don’t hesitate to leave a comment below!

Update: Here’s another AS3 library + socket server app for Mac.
Update 2: Also check out as3kinect.org.

Jul 8

AS3 Library for OAuth with Twitter for AIR Apps

AIR is very popular for creating twitter clients, Sönke Rohde just made it much easier to make AIR apps for twitter with an AS3 library for Twitter. This library is built on top of core oauth as3 library by iotashan.  Core OAuth as3 library is a standard OAuth library this can be used for your own OAuth backends or connecting to other OAuth services as well.

A very nice feature of this library, in addition to being coded cleanly and as3 style, is the ability to have the Twitter OAuth page render inside of Flash.

Instead of opening the Twitter authorization page in the browser the library also contains OAuthLoader which is a wrapper around HTMLLoader which enables to directly show the authorization page within an AIR window:

// use this in the requestTokenHandler instead of navigateToURL
var loader:OAuthLoader = new OAuthLoader();
loader.load(request);
loader.percentWidth = 100;
loader.percentHeight = 100;
var w:Window = new Window();
w.width = 800;
w.height = 400;
w.title = req.url;
w.addChild(loader);
w.open();
Media_httpfeedsfeedbu_ofppb

Get Updates

Tags

Archive

2012 (1)
2011 (11)