I'm guessing most of you already know what the graphics.curveTo function is. As the name suggests, it allows you to draw a curved line that starts at a certain point, bends towards a control point, and ends in an anchor point. The starting point of the curve can be ...
read on »
I've always enjoyed mindgames, but there was always one riddle that I just couldn't wrap my head around. You may or may not have heard about the Monty Hall problem:
Suppose you're on a game show, and you're given the choice of three doors: Behind one door is a sportscar; ...
read on »
In case you never used the Sound class before, let me give you a brief introduction.
The Sound class is found in the flash.media package and is used (hard not to be obvious here) for playing sounds. The constructor for the Sound class has 2 optional parameters:
stream:URLRequest ...
read on »
Adobe has released a new version for their 2 runtimes, Flash Player and AIR. Naturally, with those releases come new and improved features as well. Let's take a look at what makes it worth to upgrade to the next version.
Let's start with the new Flash Player. You can download it ...
read on »
In the weeks before my workshop at Multi-mania (getting up to speed with native 3D) I spend a lot of time experimenting with some new api's. One thing that I kinda needed from the start is a decent rotation class to rotate an object in 3D (at runtime). So I ...
read on »
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 ...
read on »
I developed a small flash component that keeps track of all the notifications (using my simple facade) that are send within your flash application. It will show you in a log format which notifications have been sent and also gives you an overview of which class is connected to ...
read on »
With the introduction of actionscript 3, one of the classes that came with a lot of new features is the Textfield class. To be more specific, we now have access to more information about the textfields content such as character, paragraphs and line metrics. The goal in this blog post ...
read on »
So yesterday I finally took the time to do my recertification for Flash CS4 (93%) and I must say I finished with mixed feelings. Sure I was happy that I now can finally put that certified expert/instructor logo on my site but the exam experience itself was a little bit ...
read on »
In one of our latest project we wanted to use some sort of an event system that would make it possible for components to dispatch events to each other even though they are not aware of each other or are not in the same displaylist structure. In that last example ...
read on »