class SWFEdit { static function main(mc) { var json = new JSON(); trace(json); trace(mc.object_id); var ds = new DataStore(mc.object_id); trace("ds: " + ds); trace("title: " + ds.metadata["title"]); trace("file_data: " + ds.file_data); _root.createTextField('label', 3, 0, 0, 200, 200); _root.label.type = 'input'; _root.label.border = true; _root.label.text = 'Hello!'; } }