What I want to do is some how link each event to an external JPEG that loads in a new browser window… so ill probably have to add some sort of flyer=“url” value to the tag, but im not sure how to go about implementing it in flash… please help i need to have this done by monday thanks in advance :hitman: :thumb2:
menu = new XML();
menu.ignoreWhite = true;
menu.load("events.xml");
menu.onLoad = function() {
items = this.firstChild.childNodes;
for (i=0; i<=items.length-1; i++) {
_root.attachMovie("eventbuttons", "item"+i, i);
_root["item"+i].nametxt.text = items*.attributes.name;
_root["item"+i].datetxt.text = items*.attributes.date;
_root["item"+i].clubtxt.text = items*.attributes.club;
_root["item"+i].categorytxt.text = items*.attributes.category;
_root["item"+i]._y = 25*i;
_root["item"+i]._y += 245.5;
_root["item"+i]._x = 515.5;
_root["item"+i].itemUrl = items*.attributes.theurl;
_root["item"+i].onRelease = function() {
getURL(this.itemUrl, "_blank");
};
}
// end of for
};
Small problem though… how do I get that code to load the menu into an empty movie clip, called…lets say “empty_mc” instead of right on the main timeline?