I’m having problems calling a function within my program. The code is:
find_New();
trace(sequence_Array[array_Marker]);
find_New = function() {
trace(“Find_New Marker”);
sequence_Array[array_Marker] = random(4)+1;
currentNum+=1;
}
The output I’m receiving is “Undefined”, telling me that find_New is never called upon, so the array never receives a value. ((trace(“Find_New marker”) never shows up))
any ideas as to what I’m doing wrong? array_Marker is set at 0 before the call statement.