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.
May 29th, 2007 at 6:01 pm
Cool! Did you test, if AS2 code works fine?
-abdul
May 30th, 2007 at 12:00 am
I havent test, but I think AS2 code should not work.
Because compile method of code is completery deifferent.
May 30th, 2007 at 3:05 am
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…