Archive for Actionscript
MonkeyBoy’s Escape
Screen shots from a small game i made using Alex Coves physic engine APE for as3. Graphics, Actionscripting by myself, and sounds my my good friend and work collegue Lars
Play it here.
Depth of Field - Papervision
The stuff you can do in papervision keeps on blowing me away, Ricardo Cabello aka Mr.doob has created a nice depth of field effect. Check it out here. If you have been living under a rock the guys at papervision are doing amazing things with the flash player allowing it to work with 3d images, its the sort of stuff that makes makes me constantly say “fuck me tender”. Now someone find a good way to go from cinema4d r10 to papervision and i will be rocking too soon.
ObjectDumper03.as
I have been playing around with as3.0 today for the first time, and found there to be some things missing that were there in as2.0 and not in as3.0. One of these is ObjectDumper; so i made a as3.0 version.
Visual-Funk.no
I have recently finished scripting as2.0 the Visual-Funk.no website. It implements:- The Fuse Kit, QueueLoader, SWFObject, SWFAddress, and a few of my own personal classes to make it all work nicely together.
Resize Flash movies on a HTML page
“This prototype demonstrates how to dynamically resize your Flash movie on an HTML page. The basic premise is that you can now resize your flash movie dynamically in relation to how much content you have to view. This means you can display a full text article and allow the user to scroll with the browser’s own scroll bar instead of some fiddly proprietary nonsense that you’ve rolled on your own. It was first presented at the Spark Europe conference in Amsterdam on Thursday 17th November 2005.”
Demo of resizer at Hoss Giffords website
Download resizer
resizer
SWFObject
“SWFObject is a small Javascript file used for embedding Adobe Flash content. The script can detect the Flash plug-in in all major web browsers (on Mac and PC) and is designed to make embedding Flash movies as easy as possible. It is also very search engine friendly, degrades gracefully, can be used in valid HTML and XHTML 1.0 documents*, and is forward compatible, so it should work for years to come.” Get it HERE
QueueLoader
Really useful class for loading in multiply images one after another, easy and effective to use. “The QueueLoader Class is a “wrapper” for the MovieClipLoader Class which makes managing the loading of multiple files more convenient. You can add files to a loading queue, remove items from the queue, pause and resume loading etc., and there are many events that allow you to exactly monitor the loading process. By using more than one instance of the QueueLoader you can realize complex loading scenarios where you have for example one QueueLoader for the current loading process and another one that preloads items in the background. You can give one queue the priority by pausing the other one and so on…” http://www.betriebsraum.de/blog/downloads/
SWFAddress
SWFAddress is a small script that sits on top of SWFObject and provides deep linking for Flash websites and applications. In other words it enables the Back, Forward and Reload buttons of the browser and creates unique URLs with page titles that can be sent over email or IM. SWFAddress uses the ExternalInterface functionality introduced in Flash Player 8 and comes with a technique that enables search engine indexing for deep Flash links. http://www.asual.com/swfaddress/
The Fuse Kit
Quite possibly the most useful class when it comes to prototyping, and of course actionscript tweening; every actionscripter / web designer should have this one - http://www.mosessupposes.com/Fuse/