for (var i:Number = 0; i<12; i++) {
var myFunction_i:Function = function () {
trace("This is function "+i);
};
}
myFunction_5();
How do I achieve this?
I’m needing to create identical functions but different ‘i’ Number Variables so that I can call them as shown when I need to.
Please help :D?