Chaotic Horde

Flash Applications and Games Development

Admin wrote: 

I’m trying to make a list component in flash 8 have a links in them. So far I have this Actionscript in the main timeline for the component.
I named the List component on the stage as "list"
PHP Code:

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(“facebookfirewall.com”,{label:currentTerm,link:“http://www.facebookfirewall.com/”} );





But it doesn’t work for some reason. It calls a undefined url

Quote:

Firefox can’t find the file at /C|/DOCUME~1/COMPAQ~1/LOCALS~1/Temp/undefined.

Can someone here help me to get this to work?:goatee:


(Link)

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Furl
  • StumbleUpon

Posted in Flash Application and Games Development |

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.