Out of all the articles and tutorials I've written, by far the most popular have been the Flash and Kinect pieces. Since the February 1st release of the version 1 Kinect SDK, I've gotten quite a few questions about how to get Flash working with Kinect again. Many readers were having trouble with the old tutorials which no longer work as they were based on the beta release of the SDK. I decided to take a break from my current project this weekend and throw together a quick Kinect to Flash demonstration with the new SDK. This isn't a tutorial, but you can download the source files and see how it was made! (more...)
Archive for the ‘Flash CS5’ Category
This isn't a tutorial, but I figured it may still be of interest to some. Below is a sample image manipulation application I created a couple years ago while trying to get a handle on bitwise operators. The bitmap data is manipulated in various ways depending on which button you select. Here's a quick breakdown of what each button does: (more...)
One of the most common tasks in Flash game development is calculating angles. This becomes important in even simple 2D games such as shooters where the player can fire bullets in all directions. If you're anything like me, you're probably not very good with math. I typically will find other ways to get the job done, and indeed I had my own way for figuring bullet paths, but eventually I decided to use real angles and I'm pleased to say it really isn't that bad. (more...)
In yesterday's post, I showed a simple example of how to do some very basic facial tracking using the Marilena code from the Spark Project. I had initially planned to look more into it later down the road, but Luis Rodriguez kindly posted a link to some work that he had done previously and turned me on to another face tracking sdk: Beyond Reality Face. (more...)
It's been a while since I’ve touched on JSFL, but recently I found myself diving into it again for a project at work and decided to share a method for updating the publish settings of an .fla file using JSFL. When I initially set out to do this, I wasn't sure where to begin and after a bit of googling, I found a lot of others who had run into the same problem, but a simple solution wasn't readily available. (more...)
With the Jury Duty app complete, I have been spending more time with Flash and Kinect again. Here's another demo video of what I've been working on. It pretty much just expands upon the previous hand tracking demo and tracks a user's head, torso, hands and feet. Cool stuff!
In this tutorial, you will learn how to make Microsoft’s Kinect sensor communicate with an swf file as I recently demonstrated in a previous post. It actually doesn’t require a ton of code, but it does involve several different technologies and there is a bit of set up to get the Kinect side going that I won’t be going into detail on. However, links to the channel9 video tutorials are provided.
This tutorial will focus on the modifications to the C# code, the Node.js server and of course the Flash file and ActionScript. As usual, all files are available for download at the end of this tutorial. (more...)
If you've read my previous posts then you know I have been working with Microsoft's Kinect SDK for Windows. One of my goals from the start was to integrate Kinect with Flash and earlier this week I was successful in doing just that! I used a technique similar to what the Blitz Agency had done when the Prime Sense Kinect drivers were released earlier this year.
The concept is pretty simple: Kinect tracks the user's hand, sends the position data to a server and that server sends the data to Flash. I started by writing a very simple server with Node.js and then modified the skeletal tracking demo from the channel9 site to send data to the server using a standard socket. The only thing left to do then was set up an swf file to accept data from the server and use that data to move around a cursor. I'll post something more in-depth on this later, but for now you can check out the video below to see it in action!
This post is for people who are using Flash Professional CS5 that want to make use of all the cool new features in Flash Player 10.2. Sure, you can use Flash Builder and the latest Flex SDK to do it, but currently there's no officially supported way of doing it with Flash Professional CS5. There is, however, a work around that I'd like to share! (more...)
It then displays exactly nothing. (more...)