Actionscript 3.0

A collection of 17 post

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…

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…

Flash – HTML5 Drag and drop integration

After seeing Mario Klingemann’s HTML5 drag and drop demo, I wanted to write a library around it and make it a little more cross-browser. Register the necessary event listeners to the class and react to events such as dragging a file / element over your swf, dropping data or dropping a file on the…

Webcam Difference Keying

Some of my students are working on a project where they need a photo-booth-like keying application (take snapshot with somebody out of the picture, then step back in the picture and the background disappears). I’ve been experimenting with pixelbender the last week, and created some classes that do…

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…

CakeSWXPHP – updated to SWX 2.0 beta 1

The first beta of the new version of SWX was released yesterday. This new version brings AS3 and Flash Player 10 support. I decided to update CakeSWXPHP, to support this new version of SWX. You can download a new version, from my CakeSWXPHP page.

Resizing Scrollbars in Flex

I had to create bigger scrollbars, for a flex project which had to run on touchscreens. Their isn’t a real style or property which enables you to do this, but thanks to programmatic skinning, it is quite easy. First of all, create a class which extends mx.skins.halo.ScrollTrackSkin. In this class…

Actionscript 3.0 Gradients and Curves code generator

Now and then, I have to use the drawing API to draw a gradient, or a bezier curve. Every time, I have to dig through the help, to check the meaning of the different parameters, and where they belong in the function call. To make this more easy, I created a little code generator for gradients, and…

Flex Flowcharts

Last saturday I went to the Adobe Usergroup meeting in Gent (Belgium). It featured the Adobe Prerelease tour, Christophe’s presentation about Prana and, last but not least a presentation about lovely charts. Loverly Charts is an application to created flowcharts and diagrams online. This reminded me…

benchmarking cakeswx/amfphp

Cakeswxphp enables you to use the cakphp rapid application framework as your remoting backend. No longer writing complex sqls, escaping query strings,… As some of you have noticed, cake does slow your remoting down a bit, as more classes are loaded to give you this ease-of-use. I did some benchmarks…

Popforge open source

Hooray! Popforge, an ActionScript 3 code library by André Michelle and Joe Elbert is nog open source! I was especially interested in the audio classes, that enable you to generate audio at runtime in AS3. You can check out the library at the google code page.

Copyright © 2020 Wouter Verweirder