Posted by
Leon in
flash
Jan 1st, 2008
After a few requests i’ve got around to finding out the source code for my previous post on motion detection using actionscript 3.0. AS3 is still quite new to me and this post was adapted from an original tutorial in Web Designer Mag. If like me you are still a bit unsure about AS3 but feel comfortable with AS2 then there are a few resources that may be of interest to you.
Books
ActionScript 3.0 Cookbook
Essential Actionscript 3.0
(The two go hand in hand)
Web Resources
http://www.actionscript.org/resources/articles/671/1/AS-30-Coming-From-20—Article-1/Page1.html
http://livedocs.adobe.com/labs/air/1/aslr/index.html...
Posted by
Leon in
flash
Oct 11th, 2007
I have finally managed to get together the source files for the Motion Detection script. The script allows you to control an interface simply by waving your hands in the air infront of a camera. This is pretty cool if you want to add some extra interactivity to your site. The original post can be found here. This original code was taken from Web Designer Mag. They hold all the copyrights etc
The code is below, I wish I had more time to go through it fully and comment it out but I don’t. If you need any help, add a comment to this post.
import flash.display.*;
import flash.geom.*;
var cam:Camera...
Posted by
Leon in
Uncategorized
Sep 28th, 2007
According to a Google Search today, Sizzla Blog is number one when searching for ‘Flash 9 Motion Detection’. Try it and keep me there!! lol. Thanks for the support!
Posted by
Leon in
Apps, flash
Sep 24th, 2007
I have been working on a Flash Based Motion Interface as a continuation of a previous project. This app, can actually detect the area of the motion and as such can be adapted for use as an interactive interface. It exploits the new Difference Mode in Flash 9. Some of the code was adapted from Web Designer Mag. Click here for a link to the page. Hope you enjoy. Don’t forget to Digg this story.
Note: The source code is coming soon, add a comment and I will give you the link to download an alpha version if your desperate!!
Posted by
Leon in
flash
Sep 4th, 2007
I have recentlty produced a game in Flash which uses motion to control its function. The motion is captured using any Web Cam or connected image capture device (even the built in iSight on Mac’s). The product is not perfect and still contains a few bugs (notably the fact that the user is required to accept the security settings for the correct camera, each time the game loads). I am currently working on a version that uses sound to control input. Any comments or help is greatly welcomed. Many thanks to the original developer of the SpeedBall game, as this formed the basis for my work. Here...