/ Published in: ActionScript 3
Expand |
Embed | Plain Text
var arr:Array = ["test", "test2", "test3"]; // Use a regular for in loop to access the properties in arr for ( var i in arr ) { trace( i ); } // Use the new for each in loop to access the values in arr for each ( var s:String in arr ) { trace( s ); }
You need to login to post a comment.
