flash on 2009-10-9
♥0 |
Line 19 |
Modified 2009-10-09 16:47:49 |
MIT License
archived:2017-03-20 11:17:00
ActionScript3 source code
/**
* Copyright yd_niku ( http://wonderfl.net/user/yd_niku )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/60j4
*/
package {
import flash.display.Sprite;
import flash.utils.Dictionary;
public class FlashTest extends Sprite {
public function FlashTest() {
// write as3 code here..
var dic:Dictionary = new Dictionary();
for( var i:int=0; i< 10; i++ ) {
var test:Object={};
dic[ test ] = i;
}
for( var key:* in dic ) {
trace( key );
}
for each( var value:* in dic ) {
trace( value );
}
}
}
}