You requested all posts in the category flash


drawing a perfect circle with the curveTo function.

1

Sep 10

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 »

the Monty Hall problem: A programmer’s approach

9

Aug 10

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 »
by Jan | 3 comments | Filed Under: ActionScript 3, Flash

estimating the duration of a Sound Object while loading.

29

Jul 10

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 »
by Jan | 1 comment | Filed Under: ActionScript 3, Flash, Flex

Flash Player 10.1 and AIR 2 released

11

Jun 10

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 »
by Steven | no comments | Filed Under: AIR, ActionScript 3, Flash, Flex

3D rotation at runtime with 2 lines of code

20

May 10

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 »

optimizing the floodFill() method

29

Apr 10

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 »
by Jan | 1 comment | Filed Under: ActionScript 3, Flash

An update to a simple facade

15

Jan 10

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 »
by Alwyn | no comments | Filed Under: ActionScript 3, Flash

Creating cool text effects with actionscript 3

31

Dec 09

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 »
by Alwyn | 8 comments | Filed Under: ActionScript 3, Flash

Adobe certified expert

4

Nov 09

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 »
by Alwyn | no comments | Filed Under: Flash

A very simple facade

16

Oct 09

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 »
by Alwyn | no comments | Filed Under: ActionScript 3, Flash, Flex