Dollar
Feb 4th 2008, 7:52 am
Anyone here help me with this?
I've already tried actionscript.org and the boneheads there don't reply. In fact I think the logged in members are not even real on that forum....
I want to create a list component with a links in them.
This is what I have. The list component's Instance name is "list"
var listener:Object = new Object();
listener.change = function(event) {
trace("You selected: "+event.target.selectedItem.label);
getURL(event.target.selectedItem.link);
}
list.addEventListener("change",listener);
list.addItem("somesite.com",{label:currentTerm,link:"http://www.somesite.com/"} );
Okay when I click on it, the trace pops up saying "somesite.com"
and my browser says.
Firefox can't find the file at /C|/DOCUME~1/COMPAQ~1/LOCALS~1/Temp/undefined.
So something in the actionscript is undefined. How to fix this actionscript?
I've already tried actionscript.org and the boneheads there don't reply. In fact I think the logged in members are not even real on that forum....
I want to create a list component with a links in them.
This is what I have. The list component's Instance name is "list"
var listener:Object = new Object();
listener.change = function(event) {
trace("You selected: "+event.target.selectedItem.label);
getURL(event.target.selectedItem.link);
}
list.addEventListener("change",listener);
list.addItem("somesite.com",{label:currentTerm,link:"http://www.somesite.com/"} );
Okay when I click on it, the trace pops up saying "somesite.com"
and my browser says.
Firefox can't find the file at /C|/DOCUME~1/COMPAQ~1/LOCALS~1/Temp/undefined.
So something in the actionscript is undefined. How to fix this actionscript?