I’m creating a list, but want text/movieclip to have a rollover state. In the loop, how do i reference the this[“show” + i].mc_show._alpha on a rollover state?
Help… please.
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._alpha = 50;
trace(this[“show” + (this.index)].mc_show._alpha);
}
this[“show” + i].mcClick2.onRelease = function() {
getURL(_root.episodeurl[this.index]);
}
}
}
}