On the rollover, how do i reference the text color of the specific show*.mcshow
Anyone? much appreciated for any feedback
//-----------------------
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
showdate = [];
showtime = [];
showlength = [];
showtitle = [];
showurl = [];
episodetitle = [];
episodeurl = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
showdate* = xmlNode.childNodes*.childNodes[0].firstChild.nodeValue;
showtime* = xmlNode.childNodes*.childNodes[1].firstChild.nodeValue;
showlength* = xmlNode.childNodes*.childNodes[2].firstChild.nodeValue;
showtitle* = xmlNode.childNodes*.childNodes[3].firstChild.nodeValue;
showurl* = xmlNode.childNodes*.childNodes[4].firstChild.nodeValue;
episodetitle* = xmlNode.childNodes*.childNodes[5].firstChild.nodeValue;
episodeurl* = xmlNode.childNodes*.childNodes[6].firstChild.nodeValue;
}
mainSchedule();
} else {
content = “file not loaded!”;
}
}
bgdbuttons = Array()
bgds = new Array();
bgds.push()
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load(“info.xml”);
function mainSchedule() {
if (loaded == filesize) {
for (var i=0; i<total; i++) {
this[“show” + i].mc_time.text = showtime*;
this[“show” + i].mc_show.text = showtitle*;
this[“show” + i].mc_episode.text = “Episode:”;
this[“show” + i].mc_episodename.text = episodetitle*;
this[“show” + i].mcClick1.index=i;
this[“show” + i].mcClick2.index=i;
this[“show” + i].mcClick1.onRelease = function() {
getURL(_root.showurl[this.index]);
}
this[“show” + i].mcClick1.onRollOver = function() {
_root.show[this.index].mc_show.color = 0x000000;
}
this[“show” + i].mcClick2.onRelease = function() {
getURL(_root.episodeurl[this.index]);
}
}
}
}