That's pretty close. But instead of accessing the data for the selectedItem of "this" (the button, which has no selectedItem) you want to refer to the instance myComboBox. Change the code on the Button instance to read as follows: on (click) { getURL(this._parent.myComboBox.selectedItem.data); } This says to grab the data for the selectedItem in the myComboBox but that instance is up one level from inside the Button hence the code this._parent. |