Hello, I’ve got a question about AS3.0 loading AS2.0 swfs Basically, my AS2.0 swf contains a uses the timeline, and at label “Game” calls Maingame.main(this); and the Maingame.as file handles things And this all works fine and dandy as a seperate AS2.0 file.
Now my AS3.0 file uses a “mLoader = new Loader” object, and loads it that works fine too, THE FIRST TIME. But then when I close the game loader, and try and load the mini game again, I get the things on the timeline to show up, but when I move to the label “Game” it doesn’t show anything.
And from my testing I think I’ve got it boiled down to First time I run it, in my Maingame.as I trace the root and it’s _root Second time I run it, (open minigame, close, open minigame again) it traces as _root.gameHolder.instance220 gameHolder is a MC in my AS3.0 file that holds the content of the mLoader
If anyone’s got some insight, it’d be much appreciated, I’ve been having some troubles with this for a while I’ve also read that as2.0 files loaded into as3.0 should have _lockroot = true by default, but it seems like I’ve had to do that myself manually, but still doesn’t work the second time Thanks Josh
Edit - When I remove my gameHolder MC, if I don’t use mLoader.unload(), I get the above results
if I do use mLoader.unload (and mLoader = null) the second time around everything is undefined, even tracing root