communication between as2 and as3
问题 I have this code under a button in 'as2.swf' on (release) { unloadMovie(this); } and this swf is being loaded into as3 container called 'main.swf', but when i press it nothing happens and the file does not unload itself. any one can enlighten me on that? 回答1: ActionScript 3 uses the AVM2 virtual machine while ActionScript 2 uses the older AVM. This means that they are not in the same sandbox. Thus communication between the two is difficult at best. AVM2(as3) can load and work with AVM1(as2)