Just a quick port from an old Starfield project into Adobe AIR.