Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/SWFEdit.as
blob: bc3597027f49e7ebd160c51eb72ca2bda1515930 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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!';
    }
}