package { import flash.text.TextField; import flash.display.Sprite; public class FlashTest extends Sprite { public function FlashTest() { // write as3 code here.. var t:TextField = new TextField(); t.width = 465.0; t.text = JSON.stringify({ hoge: ["fuga", "piyo"] }); this.addChild(t); } } }