Tutorial - Creating a reusable Slider Control / Component

Hi Everyone,
Today I will cover the subject of creating a reusable slider control which takes two bitmaps as resources. The thumb bitmap will slide on the rail bitmap. It is a very simple concept!
We will basically take this image: and this one: and make this (try it, move that knob):

In fact, [...]

Tutorial - Multi Touch in AS3 / Flash Player 10.1 - Part 2. TouchEvent & MouseEvent Sequences

Hi Everyone,
In this installment I will cover the TouchEvent and how it is intertwined with MouseEvent. First you need to understand that touches will fire MouseEvent’s too. You will get a TouchEvent first, then a MouseEvent. This can prove annoying in some cases, and good in others.
For the complete listing of TouchEvent’s as [...]

Tutorial - Consuming REST web services in ActionScript 3 - Part 4

Hi Everyone,
this is a follow-up to the following posts:

Part 1
Part 2
Part 3

In this post, I will add code to identify each request uniquely, give you a class called “AbstractClient” that will handle most of the mechanics and is easily extended. The idea is to give you a base on which to build. Essentially, for [...]

SWF TextField Factory — Dynamically Loading Fonts in AS3 using Flex SDK 3.4

Hi Everyone,
it has been a long while since I wrote! Been busy. Now I have some time and the first thing I did is to get away from the Flash IDE completely. I had been waiting to be able to debug directly in FlashDevelop for a while, tried some extension that didn’t work, then [...]

Study - The Video Players of Social Networks (YouTube, DailyMotion, Veoh, Vimeo, GoogleVideo, Flickr)

Hi Everyone,
I am doing research on which video player I can easily embed inside of an AS3 application. I had these players in mind: DailyMotion, Vimeo, Veoh, Youtube, GoogleVideo, and the DivShare player as a fallback. Right of the bat, the following players are still in AS2:

YouTube
DailyMotion
DivShare
GoogleVideo

While these are in AS3:

Vimeo
Veoh
Flickr

YouTube AS3 Wrapper for the ChromeLess Player

Hi Everyone,
I was toying around today to get a youtube video to play the “legal” way. Quite honestly using the little KeepVid client I made and FLVPlayer, it works fantastic.. but yeah, it isn’t legal.
So after a few hours, I found a wrapper that works.. You can see it in action here.

Tutorial - Creating Custom Components (Visual Controls) in pure AS3 - Part 1

Hi Everyone,
Looking back at the last 4-5 years I spent developing Flash widgets & applications (again, I do NOT participate in marketing efforts.. so no micro-sites or bogus games for me) I realize that one of the core abilities of a good Flash application developer is his ability to develop components from scratch. The better [...]

Tutorial - Implementing your own CallLater function is AS3 (Flash or Flex)

Hi Everyone,
Although I am not a big fan of the CallLater function in Flex’s UIComponent, I must admit that it is sometimes handy. Here is how you can implement your own CallLater function, this code can be incorporated inside of any class, enabling you to add functions that are called after the current thread of [...]

Tutorial - addEventListener code completion in Flash Develop

Hi Everyone,
in one of the recent releases of FlashDevelop they added a wonderful feature which lets you see what events are dispatched by the objects you are using. This is done through some meta tags inside of the class declaration and the result is very valuable. It looks like this:

Custom Filters in AS3

Hi Everyone,
Well, this is a short post; I know I have been busy lately (have been teaching AS3 quite a bit, which is fun, at Loto Québec and Canoe.ca) + work on the regular contracts. Anyhow, this to say that I have a lot of material I wish to write about, and hopefully next month [...]