When fonts attack

You know the drill… you open an FLA you’ve been given and it complains it’s missing several never-before-heard-of fonts that you can’t find anywhere. Wouldn’t life be easy if everything could just be Arial, for example. Try this little JSFL command I wrote (packaged as a ZIP, since it needs the dialog box XML file included) to change all textfields in an FLA to a given font name.


 

When design goes wrong

Nothing grounds my gears like tiny Flash fonts!

You know the situation: a designer has given you an FLA file to work from and either the text is too small to be legible for us mere mortals, or is going to be too wide when translated into Russian. Since designers rarely think of these things, I find myself either overriding text size dynamically, or using these couple of handy JSFL scripts that I wrote. One of them increases the point size of all text in an FLA, the other reduces it. You’re very welcome 🙂

Webcam controlled motion

I started playing around a little more with my Webcam and extended my previous motion detection example – this time to control the camera of a virtual 3-D space from motion detected in the user’s Webcam. It detects motion area and general direction, albeit with dubious accuracy, but you get the idea.

Due to popular demand, I’ve posted the source code for you lot to play with. It contains the FlashDevelop project file (it’s compiled with the Flex 3 SDK) and my cut-down 3-D engine, Pants3D 🙂


 

Webcam Flames

I played around some more with my webcam today and knocked this out. I also found my webcam already has the IR filter missing (cheap webcam), so it can already see infrared… which will come in handy:

Wii Paint

After getting my Wii remote hooked up with the WiiFlash Server, I knocked up this quick Flash demo which draws the blobs of infrared light the Wii remote detects (it can track up to 4 blobs at once), just like the Wii console’s sensitivity setting dialog does. I just gave each blob a different colour and clear the graphics on pressing the ‘A’ button.

Here’s the code to get it working – requires WiiFlash Server:

Motion graphics, video production, games/app development and infosec.

%d bloggers like this: