Answered
How to find out if list contains text?
I am using the following code with a list component in Flash
8:
I would like to define 2 behaviors - one geturl in blank window and one geturl in self - depending on whether the list data for the particular entry contains "pdf". Is it somehow possible to do this?
Many thanks in advance
my_list.change = function(evt:Object) {
getURL(evt.target.selectedItem.data);
};
my_list.addEventListener("change", my_list);
I would like to define 2 behaviors - one geturl in blank window and one geturl in self - depending on whether the list data for the particular entry contains "pdf". Is it somehow possible to do this?
Many thanks in advance