Ruby ActionScript Utility