Set level and index on root.
Merge pull request #541 from tobeytailor/timeline

Fix issue #523.
First cut of the JavaScript->AS3 AVM1 migration
Merge pull request #551 from yurydelendik/as2-as3

First cut of the JavaScript->AS3 AVM1 migration
Implement System.security
Don't load avm1 twice
Stubs MovieClipLoader
Fixes build-web
Replace xstats by stats
Merge pull request #554 from yurydelendik/xstats-stats

Replace xstats by stats
Fixes Chrome's inability to return xhr.responseText during onprogress
Merge pull request #555 from yurydelendik/chrome-responsetext

Fixes Chrome's inability to return xhr.responseText during onprogress
Merge pull request #552 from yurydelendik/ball7

Stub MovieClipLoader
Removes generated .h/.cpp
Removes $attachNativeObject
Merge pull request #556 from yurydelendik/rm-attachNativeObject

Removes $attachNativeObject
Fixes build-web (cp avm1lib.abc)
Adds missing AS2MovieClip glue defs
_callFrame and _addToPendingScripts stuff
Implements swapDepths