Archive for the ‘ActionScript 3’ Category
Monday, December 7th, 2009
A while ago Steve wrote a post about converting images to SWFs to minimise loading times. In the right circumstances it can be a very nice tactic, as it makes such a huge difference.
Anyway, a project manager that Steve was working with heard about this, loved the idea, and by ...
Posted in ActionScript 3, JSFL | No Comments »
Thursday, July 30th, 2009
I've recently had a chance to work on a project I've wanted to get on with for ages, and I've just completed the Beta release of MultiLoader.
MultiLoader can load in images, text, XML, sounds and videos in a consistent way, and allows you to manage the loading in a number ...
Posted in ActionScript 3, Loader | 1 Comment »
Monday, July 6th, 2009
I had to get the graduations between a couple of colours the other day, and in lieu of finding much of use online, I thought I'd put my solution up here in case it can help anybody who's looking for something similar.
Usage is really simple:
getColourSteps(0xFF0000, 0x0000FF, ...
Posted in ActionScript 3 | 1 Comment »
Sunday, January 25th, 2009
A colleague was recently trying to determine a way to use a Switch for the type of Display Object he was feeding, that is, to have a case for a Sprite, another for a Bitmap, etc.
In if...else language it would be easy, using the is operator:
if (obj is Bitmap) {
...
Posted in ActionScript 3 | 2 Comments »
Saturday, January 24th, 2009
It's been ages since I tried using a decompiler, but I did tonight, just because I was quite intrigued how somebody had solved a problem. I tried Sothink's (no link cos I'm *really* not recommending it!), and it was absolutely no use. It's not really a surprise - decompilers have ...
Posted in ActionScript 3 | No Comments »
Thursday, September 4th, 2008
My friend Shane at Lost In Actionscript has released the private beta of his new tweening engine, Tweensy, and it's set to destroy the competition. I've been using it for a few months now, but he's recently gone crazy with it, extending it in all sorts of amazing ways.
At its ...
Posted in ActionScript 3 | No Comments »
Friday, August 22nd, 2008
Often in my work then I have to chuck something online quickly for clients or whoever to be able to see, and it's usually nice to have a preloader. It doesn't exactly take long to create one from scratch, but as I've been having to do a lot of ...
Posted in ActionScript 3 | 1 Comment »
Friday, August 1st, 2008
I'm quite a fan of neat, sparse code, especially if efficiency isn't so important. Following on from my date stuff earlier, I had to have a few conversion utils, including time conversions. Everyone's been through the boredom of creating the methods for millisecondsToSeconds, secondsToMinutes, minutesToHours and so on, ...
Posted in ActionScript 3 | No Comments »
Monday, July 28th, 2008
I had to do some date formatting for a project recently, and realised I missed the PHP Date function, so I recreated it in Actionscript 3. While I was doing it I noticed it's been done a few times before, but there tend to be quite a few of the ...
Posted in ActionScript 3 | No Comments »