Hey guys…
If I have 16 buttons inside a for loop, how would I trace back the number that was pressed.
NumPageButtons = 16
for(i=1; i<=NumPageButtons; i++){
tempMC = eval(“page”+i+"_mc")
tempMC.onRelease = function(){
trace("i = " + i)
}
}
when I do a trace it gives me 16 not the number (current button ) that was pressed