Hello!
My friend thought he was a genius by making some crappy Sudoku game on a games factory that did all the work for him, now… I am almost there with this but have run into a hiccup.
All I need to do, is call a function on a 1 of the 9 mc’s (called grid"1-9") that is in the mc Im working with.
For instance.
grids:
[COLOR=“DarkOrange”]var completeGrid:Number = 1;
var t:MovieClip = this[“grid” + completeGrid];
t.startGrid();[/COLOR]
Ok, then that function will run on the mc named “grid1”
and do all the code for that mc, and at the end will do…
grid:
[COLOR=“darkorange”]
function startGrid() {
[COLOR=“Silver”]//BLAH BLAH BLAH
//CODE CODE CODE[/COLOR]
_parent.completeGrid++
var nextGrid:MovieClip = _parent[“grid” + _parent.completeGrid];
nextGrid.startGrid;[/COLOR]
}
and will continue doing that until completeGrid gets to 10. And then move to the next frame, or whatever.
But my problem lies with calling functions on a different movieClip, I cant get the “[COLOR=“darkorange”]t.startGrid();[/COLOR]” to work at the moment.