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 »
When creating an AIR project, you automatically get an XML configuration file for your application, which contains the initial width and height, the available icons and the indication whether or not the application uses a custom chrome (amongst other settings). This XML file has the same name as the application ...
read on »
I was looking for a way to set parameters more quickly to newly added childs and I found out something interesting. (Note that this will not result in faster code execution, it's merely to type less :-). I did some testing for the performance, check it out at the bottom ...
read on »
Imagine a situation where you have a Flex application and you need to display a popup window in which an external application is doing something else with the same data. You don’ have control over the external application, but you know it is written in HTML and PHP. Imagine also ...
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 »