1
votes

(Flash Professional / AS3)

I have a main fla file that loads a game (with a Loader) and adds it to the stage (addChild(myLoader)). Is there a way to step through/debug the loaded swf? If so, how? My game.swf breakpoints aren't hitting.

2
I don't think you can. If you could, it would be SO EASY to decompile swf files (just load them in another file and debug). Not to say that it is difficult to decompile it now :) – Pranav Hosangadi
Not entriely sure if it will work in your case, but you could five remote debugging a shot – George Profenza

2 Answers

1
votes

Did you debug (Control > Debug Movie) both files?

You need to debug both Main and Game to be able to get breakpoints in the loaded SWF to work. When you Debug a SWF, extra information is added to the file. If you just publish the file there will not be any debug info.

0
votes