All of the Adobe AIR functions are asynchronous -- meaning that the return from the function happens later in a "callback". I wish this wasn't the case, but the Adobe people didn't do a very good job designing their language, so we had to work around their problems.
See step 7 in Using TurboActivate with Adobe AIR. You have to add an event listener for the GET_PKEY event to get the product key.