fix array initialization on declaration

An array declaration with initialization was compiled to someArray:Array
= 1,2,3,4;. Added the missing braces.
fix for each loop

for each loops in as3 are written with "for each"