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.

3 Responses to “Loading AVM1 swf as AVM2 swf”

  1. Abdul Qabiz Says:

    Cool! Did you test, if AS2 code works fine?

    -abdul

  2. Taka Says:

    I havent test, but I think AS2 code should not work.
    Because compile method of code is completery deifferent.

  3. flextips Says:

    fladdict.net: Loading AVM1 swf as AVM2 swf

    How to load a flash 8 or previous swf into a as3 swf to access UI elements. P…

Leave a Reply