In response to the questions about moving an item to the front BEFORE it visits a url.
Add this around line 34 where variables are declared:
var SelectedItem = "None";
Then change this line of Code that was added around line 121:
if(bolFirstRun){
bolFirstRun=false;
} else {
getURL(arrLinks[selectedID], "_blank");
}
To This:
if(SelectedItem == this.txt_label.text){
getURL(arrLinks[selectedID], "_blank");
SelectedItem = "None";
}
else{
SelectedItem = this.txt_label.text;
}
This will make sure that the item selected comes to the front of the screen before it visits a url. The reason that this doesn’t work as the author originally coded it is because when the movie is launched it animates and automatically changes the boolean that is suppose to be true and prevent the links from auto launching to false. if you have any other questions feel free to ask since it seems the author may have abandoned this script.

368 Purchases
46 Comments