AIR

A collection of 20 post

FITC Amsterdam – slides & demo videos of opencv & finger tracking air native extensions

Just got back of the FITC Amsterdam conference, and it’s been awesome! I gave a kinect workshop on sunday, together with my Happy Banana & HOWEST colleague Koen De Weggheleire. Apart from a longer-than-expected installation process of the kinect drivers on mac, we had a great time showing the…

Access the mac sudden motion sensor with an AIR native extension

AIR on mobile enables you to access the accelerometer of the mobile device. But what about the motion sensor in your macbook / macbook pro computer on the desktop? All macbooks come with a “sudden motion sensor”, which shuts down the hard disk when the laptop moves too much. I wrote an AIR native…

Accessing the kinect in javascript through websockets

Good morning all! (or evening, night, … depending on when you read this post of course). As you might know, I’ve been working on AIRKinect (as3nui.com) and I’ve got a side project AIRServer aswell (which allows you to setup air as a socket server, including websocket support). Wouldn’t it be fun, to…

AIRServer 0.5 – socket byte concatenation

I’ve just finished work on a little update of my AIRServer library (version 0.5, hooray!). Apparently, when you send large chunks of data over the socket (like sending an image to the server, over the socket), it could happen the data is split over multiple packages. This caused errors on the server…

AIRServer 0.4 – UDP Handling, Chrome 16 websockets & bugfixes

I’ve just finished some updates on my AIRServer library, which enables you to create an AIR app that listens for different inputs such as sockets, websockets and P2P traffic. This gives you the option to create a multi-user game, with different input controllers. I’ve added a UDP Endpoint, so you…

UDP Native Extension for AIR Mobile – now with Android Support!

I’ve continued my work on my UDP AIR native extension, to add support for Android. I’m happy to release version 0.2, which adds Android support :-) This means, from now on, you can send / receive UDP packets in your AIR mobile projects on both iOS & Android. If you find any bugs, or have suggestions…

UDP in AIR for iOS using a native extension

update: added Android support to the extension. When you’re using a mobile device as a controller for an application or a game, you’ll want fast data transfers. Classic TCP/IP traffic over sockets is a bit slow, due to the nature of TCP/IP (packets are delivered in the correct order, the receiver…

including dylib in air native extension for OSX

I’ve been struggling a bit to create a framework file to use in an air native extension on OSX. The issue was that I was using 3rd party dylib libraries (intel building blocks), which aren’t normally installed on somebody’s computer. The framework compiled and everything, but for some reason the…

websocket version 8 support in AIR Server

It’s been a while since my last update on AIRServer – an actionscript library which enables you to set up a socket server in Adobe AIR, which listens to multiple socket inputs (native AMF sockets, websockets and P2P input). Some of my students noticed the websockets didn’t work in the latest…

Flex Mobile Tabbed View Navigator Button Badge

I wanted to display a “badge text” in a Flex Mobile project. Badge texts are the red circles on iOS, where you can see a number of updates, unread messages, … This isn’t included in the default flex mobile components / skins, so I decided to extend & skin the tabbed view navigator, so you’re able to…

AIR Native extensions Hello World Example & ANT Script

I red about native extensions in the recent version of Adobe AIR 3.0, and decided to play with it. There aren’t that many examples online yet, the only resources I found were the devnet article from Oliver Goldman and a blog post about invoking ICU from Adobe AIR. I don’t know any C++ at all, so it…

Linking Microsoft Kinect SDK to Adobe AIR & TUIO Multitouch

Finally had a chance to play around with the official Kinect SDK. First thing I wanted to try, was to link the Kinect SDK to Adobe AIR (with UDP), and adjust my previous kinect demos (with OSCeleton and the open source drivers) so I could do multitouch with the kinect (a bit like minority report…

Source code for airserver space game

Sorry for neglecting this follow-up post, but here it is: the source code for the airserver space game from my previous post. When the game is running, you can control it through websockets aswel, using the HTML5 Client in the repository. Deploy the client on a websurfer, and access it with an…

AIRServer example: multi-user smartphone controlled game

I wrote this game on top of my AIRServer library, as part of some multi-user explorations with the flash platform. The graphics were created by my HOWEST colleague Jynse Cremers :-) Users can join a 30-second spacegame. Each user controls a spaceship with their smartphone. The game itself was built…

Communicating between websockets, local P2P, flash sockets & AIR

I’ve shown you how to handle websockets in adobe air, and how to set up communication between flash sockets, websockets and adobe air using a library I wrote. I’ve extended the library with support for local P2P, using Cocoon P2P. It’s another option to create a multiuser game with different inputs…

AIRServer – handling both sockets & websockets in Adobe AIR

In my previous post, I talked about how to handle websockets in Adobe AIR. I’ve written a library around it, which makes it easier to implement in your projects. Another benefit of the library, is you can combine websockets with regular sockets, so you’re able to talk between Adobe AIR, websockets…

Handling websocket connections with Adobe AIR ServerSocket

Since Adobe AIR 2.0, you can create your own socket-servers, using the flash.net.ServerSocket class. This makes it easy to hook external applications to your AIR applications, for example to create a game (server) with multiple devices as game controllers (socket clients). With an adobe air…

as3osceleton: Using Kinect as a multitouch device in adobe AIR

After buying an XBox with a kinect sensor, noticing that there is no way to attach it to your computer when you buy the bundle, and buying a standalone kinect sensor afterwards, I looked into getting the kinect data into my flash / AIR applications. There are a few methods around: AS3Kinect: http…

CKEditor running in Flex and AIR

CKEditor is the new version of FCKEditor. Following up on my FCKEditor post, I’ve got CKEditor up and running in both flex and air now. Download the library + demo’s on github. Again, some release notes (same as FCKEditor actually :-)): If you want to use CKEditor in your own Flex or AIR projects…

Using FCKEditor in Flex and AIR

UPDATE: you should take a look at my CKEditor implementation, as CKEditor is the successor to FCKEditor. One of the most wanted features in Adobe Flex / AIR is a better Rich Text Editor. There are some great ones available for javascript, so why can’t we have an editor with the same featureset? Well…

Copyright © 2020 Wouter Verweirder