Write a getter for the value that you recieve via the result event

Hello people,

I have the following function


public function onGetHDACAddOnResponse ( event:GetHDACAddOnResultEvent ): void {
    
            public var response : GetHDACAddOnRetval = event.result;
            trace('show me the money');
            if ( response.addOnName !== null ) {
                trace('show me the money');
                //conferenceInfoPopup.tollFreeNumber.text = tollFreeRoomAddr.phoneAddress;
            }
            else {
                //conferenceInPopup.tollFreeNumber.text = "Not Available";
            }
        }

and I would like to use this public variable in another function to get the result i’m getting here… any direction advise would be greatly appreciated.

thank you! :2c: