AS3 flexible actor framework