August, 2010

Aug
8

Alphanumeric Sorting in AS3 Paul

Actionscript

Sorting a list of strings that contain numbers (alphanumeric strings) can be a major headache in AS3.

Aug
8

Default Values with Null Coalescing Paul

Actionscript

The null coalescing operator is a rarely used but useful operator for initializing your objects. Often times you’ll have a method that accepts optional arguments. If your arguments are typed to non primitive objects (anything other than Strings, Numbers or Booleans), you’re usually stuck setting their default value of your parameter to null. This makes…