PDA

View Full Version : Mecheye Labs Projects



magcius
April 25th, 2008, 03:40 PM
Hello, this is my first post here, but I thought I would make it worthwhile. Here is a collection of things we have cooked up over the years. More stuff is going to be added as well.

SWF Exporting Demo
Information
Our team has wrote a simple technical demo on SWF Exporting from ActionScript 3. The SWF is assembled entirely on the client and sent over to the server in Base64 where it fwrites the file there.

The SWF Demo is the collaborative work of me and Josh Lory. Most of the SWF assembling code was done by Josh, I only improved it with the ability to draw multiple colors and send it over to the server.

Our API for developing SWF files from inside ActionScript 3 is named Mecheye Fusion (mech.fusion) and is going to be released as an open-source project when we feel it is ready (which is now!). We are currently working hard and writing our own ABC/AVM2 assembler based on the Tamarin project (but only when I am not playing Banjo-Tooie)

Instructions
Simply draw on the white canvas (which is hard to see), change colors if you wish, and press Internal SWF Load or Upload SWF to assemble and load the SWF.

Noted Issues
When drawing a lot of content, Flash Player may "freeze" when assembling the SWF. (It does not lock the browser, just the Flash Player unloads itself.)
When drawing near the top-left of the canvas, assembling the SWF may have unexpected results.
Wrap-around may occur when drawing near the right or bottom edge of the white canvas.)Demos
http://www.gamecurve.net/FusionDemo.swf (350 KB)

Source Code
Yay! Source Code is released! The beginnings of mech.fusion are now hosted at:

http://mecheye-fusion.googlecode.com/

Any questions, comments of that sort?

magcius
April 26th, 2008, 12:57 PM
Yay! Update! I added the source, if you want to take a look at it!