hey guys im testing my site now and i have a swf loaded into another but they have different actionscript versions which is stopping certain things from functioning…i think… so i was wondering if anyone could look thru this code and see if they can convert any old looking code… thanks
myData = new LoadVars();
myData.onLoad = AddItems;
myData.load(“gigs.txt”)
function AddItems() {
numItems = myData.NumItems;
for (i=0; i<numItems; i++) {
var Name = eval(“myData.Name”+i);
var Desc = eval(“myData.Desc”+i);
var DataProvider = {Link:DataRow, desc:Desc};
dropDown.addItem(Name, DataProvider);
}
dropDown.setChangeHandler(“SelectItem”);
}
dropDown.addItem("-- select date --");
function SelectItem() {
this.URL = dropDown.getSelectedItem().data[“Link”];
this.Desc = dropDown.getSelectedItem().data[“desc”];
thanks guys