Hi all,
I hope this one gets answered by someone as it is driving me nuts. I have made a sudoku game in flash. Before I get to the problem part, let me try to explain how it works.
The different boxes to enter digits are actually a single movieclip symbol with 5 frames, which is being attached 91 times when the flash is run to create the sudoku grid. There is a hint-mode which causes the relevant rows and column boxes to go to a different color if a wrong value is entered anywhere. This is being done with a
onClipEvent (keyUp) {
_root.checkinput (this);
}
attached to the movieclips inside the box symbol - where checkinput() is a function in the first frame of the main timeline.
The problem is that flash is not updating the box frames as soon as some value is entered. I setup a trace function to display the current frames for all the boxes and it seems like the screen is not displaying the movieclips at correct frames even when trace shows they are at that particular frame. Also, I think the code also lags a bit i refreshing the frame number for different clips for some reason (I am trying to figure that out).
I would have posted the code here but its huge (I am a newbie so must have bloated up some really simple things). There is no onEnterFrame function so I don’t think (I can very well be wrong) that there is too much calculations at every step.
Can someone please help me try to fix the problem.
Thanks a lot.