Help with AS3 event.currentTarget
I have this code
for (var i = 0; i < levelbtns.length; i++) {
if (event.currentTarget== levelbtns) {
}
levelbtns contains a whole heap of buttons
It requires the name check because the resulting action depends on a few variables that i need the button name to know.
I’m getting the error of
1120: Access of undefined property event.
Thanks