| | | RA-Ross |  |
| Posted: Tue Sep 02, 2008 9:07 pm Post subject: Flash CS3 Debugger works only sometimes |  |
| |  | |
I have an ActionScript 3.0 Flash file (.FLA) that simply does not seem to want to stop at any breakpoints or otherwise show up in the debugger.
If I take the code on its one single layer of script, copy it into a new AS3 Flash file, and debug it, the debugger works correctly. However, even if I strip every single symbol and object from the original file, and leave it with just trivial placeholder code (attached), the file will not stop at a breakpoint or run any of the other Flash CS3 debugger functions. Instead, I see the code in the debugger, and the program running as if the debugger weren't even present. Sometimes I get an X button on the debug console that allows me to terminate the program, sometimes not even that.
The Output window shows the standard lines: Attemping to launch and connect to Player using URL <path to my SWF> [SWF] <my SWF's location> - 792 bytes after decompression 15 [ <--- result of the attached placeholder code ]
The Publish settings for the faulty document are - as far as I can tell - identical to the new file: Flash is the only format being exported Version is set to Flash Player 9 Load order is Bottom up AS version is 3.0 with all items checked, no export class, and frame 1 export Compress movie is checked At some point I also checked Permit debugging, but it doesn't seem to make any difference All other options are default
I manually downloaded and installed the Debug version of Flash Player 9.0.124.0 earlier, but since the "clean" file debugs correctly, I don't think this is the problem.
I've also tried a number of other steps, including Save and Compact and just about everything else I could think of.
I have several files like this in my project. Are they doomed never to work with the debugger? Is something wrong with my Flash installation?
Cheesy placeholder code attached below:
var a = 5; var b = 10; var c = a+b; trace(c);
stop(); |
|