Tag Archive for ActionScript

Prototyping: ActionScript’s best kept secret.

As a developer, once in a while  you discover something new that makes you go  ”How come nobody ever told me about this and why do I only find this out NOW ? ”  Last year, when I discovered that a Function in AS3 is also a class and can be used as a a [...]

Blitting a Particle transition between two images.

Sometimes when you are experimenting around with flash, you’ll notice that things can get a little laggy when you put too many things on the stage and try to move them around at the same time. The Display List is a very fast and easy way to handle the way things are displayed on the [...]

More fun with Azoth: “Sierpinski Yourself”

You need a webcam to enjoy this blogpost to the fullest This post is a brief addendum of my previous post about Azoth. I was so excited about Azoth’s performance in my previous post that I didn’t take enough time to come up with a more practical example. Like I said last time, ByteArray operations [...]

Encoding a GIF from webcam snapshots with Flex Hero 4.5

As a Flash/Flex developer, I was very dissappointed when I found out Flash and Flex can’t handle GIF (Graphics Interchange Format) files. Untill I came across Thibault Imbert’s work ! He wrote an easy to use GIF Player & Encoder class in ActionScript 3. We’ll be creating a Flex application that uses Thibault Imbert’s classes [...]

optimizing the floodFill() method

If you ever used the floodFill() method that is provided in the AS3 BitmapData class, you know that it doesn’t always act like it’s supposed to. For those of you unfamiliar with it, the The floodFill() method is similar to the paint bucket tool in various paint programs. The signature of the method looks like [...]

Creating your own Flex validator class

Every once in a while you come across a problem you can’t fix with the basic components provided by a certain kind of technology. OK, so I lied: Very often you come across a problem you can’t fix with the basic components! Flex is not different at all. It has some good basic validator classes, [...]

A custom formatted component called CurrencyInput

You know, the Flex SDK is a pretty nice collection of visual component for quickly creating a rich internet application. But in the past couple of years that I’ve developed in Flex, I came across the usual issues with a framework, namely: it does a lot; it does a lot good; but it is just [...]

A decent Flex CAPTCHA component using only actionscript

I’ve been wondering for some time now why Adobe never includes a captcha component in their Flex SDK. They consider Flex to be an enterprise development tool, but security components are left out? There are a couple of custom flex captchas out there, but in my opinion, they are either far from secure or there [...]

Settimeout in AS2 classes

I know this has been mentioned on other blogs but I just wanted to write about this myself (first blogposts ). The problem when dealing with the global timeout method in actionscript 2 classes was and still is that you are not able to use the setTimeout global function. Whereas setInterval is still accessible. But [...]