I’ve got two list boxes on a Flash made site, and I want them to open up a browser window and go to the specified site.
Currently, when I click on a button to open the site, it goes to the root folder with a erroneous folder name (called NaN).
This is what I have:
on (release){
newSite = l-net_links.text
if (newSite == "J-Mod")
{
newSite = ("http://www.google.co.uk") ;
}
getURL(newSite, "_blank")
}
I tried this code on a combo box, and it worked fine … but I would prefer a listbox for design purposes