Jeffry Houser, the brains behind Flextras.com, apparently had this very same problem, and resolved it by starting a new debugger session that points to about:blank and then connecting that to the swf after the window has been created.
That's a great solution, but the issue I was having was happening pretty much immediately after the window was refreshed--if I went through his steps, I'd "miss the window." So, after limping along for several hours, trying to figure out the problem without having the direct debug information, I finally figured out that the problem was amazingly simple:
- Create a new "refresh" debug configuration that doesn't point to a page with a swf in it (I didn't yet know that about:blank was an option).
- Start the original debug configuration, that points to the swf as normal.
- Get to the problem point in the application.
- Launch the "refresh" configuration.
- Refresh the window.
- VoilĂ , we are connected, from the very beginning of the bootstrapping process.
No comments:
Post a Comment