Hi there,
Please help me understand why this does not work;
this.floorplan.butt01.onPress = function(){
floorplan.alphaTo(0, fadeOutTS, fadeOutTT, 0, 'revealNext(1)');
}
function revealNext(num){
revealMC = ["page_"+num]
trace(revealMC);
}
This returns a string value, page_1 (instead of the usual Object path), but alas, if i change this one line to;
revealMC = _root["page_"+num]
it will return the Object path (using ‘this’ doesnt, as i presume its reffering to the function). i can also put it in an MC on the stage, called “pages” and do;
revealMC = pages["page_"+num]
please, please save me from this!
Many thanks,
Loque