-1

I'm little stuck with the following code:

    function placeShuffleFishs():void
{
  for (var i:int 0; i<shuffleRoom.length; ++i) //syntax error: expecting semicolon before 0.
  {
   addChild(shuffleRoom[i]);
   shuffleRoom[i].x = int(xValues[i]);
   shuffleRoom[i].y = 80;
  }
}

Please let me know how to solve that problem, thanks

Jared Forth
  • 1,577
  • 6
  • 17
  • 32

1 Answers1

1

You forgot to add =

 ...
 for (var i:int      =      0; i<shuffleRoom.length; ++i) 
 ...
MESepehr
  • 758
  • 6
  • 19