This is an update to my earlier post announcing the launch of FTM. Source provided after the jump.
Tag Archive for 'Flash'
Put together a simple transform manager for a friend’s project. Supports dragging and single click scaling and rotating. Source provided after the jump.
After suffering a laggy Flash CS4 for nearly 6 months, I finally decided maybe it was an issue with the software and not my file. I feel stupid for not considering this possibility - an update which fixes the problem have been existing for over a year now.
Download it at: Adobe Flash CS4 Professional Update (10.0.2)
30MB (140 for Mac) and doesn’t require a restart.
The graphics don’t look like much, but its a cool flash rendition of the classic Powers of Ten – except that now you control the accelerator and brakes. The scale is pretty impressive too, from quantum foam up to the whole universe, check it out at New Grounds.
Interesting site presenting social media news in the form of interactive lego blocks.
Just for fun, I’m developing a desktop buddy app with air. For now the only purpose it serves is as a simple reminder. Download the air package. If you leave the settings at default, it reminds you to fish every 15 minutes.

Don’t have adobe air? Get it here.
To get the length of a loaded FLV, you need to have an object listening to the meta data stream. Here’s how:
var vidClient:Object = new Object();
vidClient.onMetaData = onMetaData;
ns.client = vidClient; //ns is the netstream object
function onMetaData(metadata:Object):void {
lengthOfVideo = int(metadata.duration * 1000)+1;
trace("Length of flv from metadata = " + lengthOfVideo);
vidClient.onMetaData = null;
vidClient = null;
}
If you’re wondering how to actually load and play the flv file:
var nc : NetConnection;
var ns : NetStream;
var vid : Video;
var path : String = "test.flv";
nc = new NetConnection();
nc.connect(null);
ns = new NetStream(nc);
addChild(vid);
//optional events to handle status and error
ns.addEventListener(NetStatusEvent.NET_STATUS, statusHandler);
ns.addEventListener(AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler);
vid.attachNetStream(ns);
ns.play(path);

