Archives
The Authors
Categories
- AIR (21)
- Architecture (21)
- AS3 (86)
- Client-side (9)
- Conferences and User Groups (4)
- Data (1)
- Design (15)
- Discussion (7)
- Flash (109)
- Flex (68)
- Hydra (3)
- In Real Life (33)
- iphone (3)
- Lab (6)
- Meta (4)
- Mobile (1)
- News (73)
- Objective-C (1)
- physics & motion (10)
- Process (4)
- Programming (71)
- Project (3)
- Server-side (1)
- Site-seeing (49)
- Tips, Tricks, and Hacks (28)
- Tutorial (38)
- User Experience (25)
- Videogames (35)
Category Archives: Programming
The quest for the elusive “N-gleton”
Sure, we’ve all heard of Singleton, the design pattern that limits the number of instances of a class to one. It’s a feel good pattern because it’s easy to use and make us feel smarter in front of our co-workers, … Continue reading
Posted in Lab, Programming, Tips, Tricks, and Hacks
7 Comments
AS3 number to hex converter
I’ve been working on some code for converting colors lately and getting quite into bitwise operations. In one of the demos I was making, I needed a quick and easy way to see the results of a color calculation. Of … Continue reading
Posted in AS3, Lab, Programming
Tagged as3lib, bitwise, converter, hex, hexadecimal, hexit, math
5 Comments
Q&A – is, as, and type conversion
A question from a reader gave me an excuse to write a huge rant about type conversions: I’m doing a little exercise in a book that makes a textfield in which each letter can only be entered once. Not very … Continue reading
Posted in AS3, Architecture, Programming, Tips, Tricks, and Hacks
Tagged as, coercion, cs, downcasting, is, lesson, oop, Tutorial, types
4 Comments
AS2 EventDispatcher
I recently went back to some AS2 code and created a replica of the AS3 EventDispatcher in ActionScript 2.0. The code is based on Danny Patterson’s original EventBroadcaster code. I tried my best to match the syntax of the AS3 … Continue reading
Downsampling Flash – Converting AS3 to AS2
I recently came across a situation where I was forced to convert a working project in Flash 9 AS3 to Flash 8 AS2. I wanted to share some of my experiences to help other weary programmers in the same predicament.
Posted in AS3, Flash, Programming, Tutorial
15 Comments