Loading AVM1 swf as AVM2 swf

Finally I found how we load AVM1 swf as AVM2.

  • Movie should be uncompressed
  • Movie should not include any as2 script

All we need to do is…

  • Load AVM1 movie as bytecode with URLLoader
  • Change index[3] ( that is 6,7 or 8 ) to 9
  • Find the byte code pattern, “44, 11, 00″, that is somewhere around position 10 to 30
  • Rewtire that to “44, 11, 08
  • Load bytecode with Loader

That it. Now you can fully access property and movieclips in the AVM1 movies.