What better image to use for a flag effect than an image by Derek Riggs (which you already have on your living room wall right? Not?) Click on the flag ! Anyway, in this example I’ve experimented with using perlin noise as a displacementmap, and overlaying the same displacement map for a lighting effect. The […]
Sometimes you overlook the easiest solutions. I had implemented a wrapping bitmap in actionscript 2, by some complex copyPixels code, which would cut 1 to 4 pieces from the original image and put them together again, providing you with a bitmap that wraps. Then I realized that there is a much easier solution, with more […]
I migrated the of my reflection class some time ago, but hadn’t gotten to posting it yet. I managed to whip up some examples of this new as 3 version. It’s not as feature rich as the as 2 version due to some changes between as 2 and as 3, but just as easy to […]
Although you might not expect it, we need to answer another question first. Why are there 60 seconds in a minute & 60 minutes in an hour? The origin of 60 seconds per minute, 60 minutes per hour and 360 degrees per circle has to do with the Babylonians. For beginners they used 60 as their […]
Making a reflection is not that hard, but getting it to work right with scaled clips with weird registration points out of the box was a little harder. Anyway I think I came up with something nice, and it performs quite well: You can download the source and a bunch of demo’s here .
Also known as: keeping your sources out of the injection swf decoupling your main class from your injection swf If you are developing your actionscript 2 apps in FlashDevelop, in a lot of cases this means you are using an injection swf. This injection swf contains all your assets. There are two options to start […]
Also known as: alternative localization method grabbing bitmap data from a loaded swf in actionscript 2 linkageExportForAS in JSFL not working for bitmaps For Heineken, one of TriMM’s clients, I had to work on a project called the photomodule. Originally written by Paul de Jong, it required some adaptions for another site. One of the […]
Also known as: iterating properties in actionscript 2 causes getter setter to execute I was working on our AS2 logger today. In particular I was creating a setup where you could simply drop in a couple components in your fla and ‘tada’, you would have a reflecting logger at your disposal. I’ll go into the […]
Also known as: finding the position of a character in a dynamic textfield with embedded fonts using actionscript 2 One of current projects involves some texteffects and I am loath to do anything on the timeline that can be done quicker by code. So my basic idea was (keeping the designer in me happy): Doing […]
Today I ran into a nasty ‘feature’ of FLfile.listFolder in Flash 8 on Windows XP. FLfile.listFolder doesn’t list files that don’t have the archive flag enabled. Workaround: none except enabling the archive flag for all files you are searching for.