Maybe try just:

{
      var i:int;
      for (i = 0; i < 10; i++)
            trace(i);
}

no need to declare the "var" part twice on the same variable.


Karl DeSaulniers
Design Drumm
http://designdrumm.com

On Apr 12, 2009, at 4:58 AM, Alexander Farber wrote:

On Sun, Apr 12, 2009 at 11:46 AM, Karl DeSaulniers <[email protected]> wrote:
//for (var i:uint = 0; i < 10; i++)
for (var i:int = 0; i < 10; i++)

Nope this doesn't change anything and also

{
      var i:int;
      for (var i:int = 0; i < 10; i++)
            trace(i);
}

won't work

Regards
Alex
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to