AS3 helper classes