Archive for 'Actionscript 2'

Reducing Filesizes Using Abstraction

April 23rd, 2008 – 6:27 pm

I had recently came across a situation with a project of mine where concrete referencing resulted in a SWF file that was far more bloated than it clearly should have been. Yet another reason why abstraction is so great — although perhaps it should have been obvious in the first place.
The project in question revolves […]

Advanced String Splitting

March 4th, 2008 – 1:08 pm

I recently had a project where I had to run some fancy regex and recursion on strings written as excel-style formulas. It was an enjoyable project, as I don't often have the opportunity to use regex or recursion in Flex. However, one of the steps in the process required me to perform what, I thought, [...]

Singletonitis

November 7th, 2006 – 2:41 pm

A friend of mine recently introduced me to the concept of "Singletonitis", the disease whose symptoms involve an over-reliance on creating Singletons in your framework. I believe the original blog that defines this concept can be found here:
http://www.antonioshome.net/blog/pivot/entry.php?id=30
The context of the arguments are actually from a Java standpoint, so some of them don't quite [...]

flash.geom package revisited (Rectangle)

October 25th, 2006 – 3:36 pm

For the second part of the geom discussion, I'd like go more in-depth into the Rectangle class.

flash.geom.Rectangle (livedocs)
The Rectangle class seems to get a bit more attention than Point, but is still often reserved for the new flash 8 methods for the same reasons as Point. Of course, it didn't help that older implementations [...]

flash.geom package revisited (Point)

October 23rd, 2006 – 4:31 pm

Along with the release of Flash 8 last year, there were a few external class packages that have been overlooked by many developers for various (justifiable) reasons. The first impression I had was that some of these felt like after-thought utilities thrown in to complement the new bitmap-oriented capabilities that Flash 8 had to [...]