Using it youre way is possible when you do it within  a function or class
because then they are private by default

Other you could use it this way
Example 1:

for (var i:int = 0; i < someArray.length; i ++) {
      // do something cool
}

for (i = 0; i < someOtherArray.length; i ++) {
      // do something even cooler
}

-----------------------------------------------
Example 2:
var i:int; //or uint if I is never negative

for (i = 0; i < someArray.length; i ++) {
      // do something cool
}

for (i = 0; i < someOtherArray.length; i ++) {
      // do something even cooler
}

No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.519 / Virus Database: 269.21.8/1340 - Release Date: 23-3-2008
18:50
 

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

Reply via email to