-
Expression error although expression works
I get an error saying that speed149, or speed19. I’m guessing it’s doing something based on the frame.
Even though the expression works fine, I don’t understand why this is flagging an error. Anyone got an explanations as I’m struggling.
c = Math.floor(time);if (c > 0 || c < 2){
speed1 = 100;
speed2 = 150;
eval("speed" + c);} else text.sourceText;