This content has been marked as final. Show 3 replies
When using AIR 1.5 and starting with a HTML AIR app (the root is a html file) it tries to start the debugger for the html/js part.
In order to debug the swf that's embedded in html you need to:
1) use the debug version of the swf
2) have the IDE started in debug mode. You're using Authoring tool, right?
2) start the application with adl with -nodebug to prevent starting of the debugger for the AIR HTML app. Instead, the debug swf will be the one that will connect to debugger.
Hope this helps,
I just want to elaborate a bit. My AIR app is not necessarily HTML based. I have one MXML form that has an HTML control on it. In that HTML control, I load an HTML file that has an object tag that references a separate SWF.
I could swear I tried what you said, and when I right clicked on the HTML page in the Air app, I didn't get the usual "Debugger" menu item in the popup menu that I would normally see in a regular browser.
I'll try again and let you know.
Yes, I think you need to replace the regular player plugin dll with the debug version.
It's located inside the sdk folder as "runtimes\air\win\Adobe AIR\Versions\1.0\Resources\NPSWF32.dll"
Let me know if this works.