This content has been marked as final. Show 4 replies
If you don't follow standard coding practices, then the auto formatter can, and will, format your script incorrectly. You can change the way the formatter formats your script by going to preferences-->auto format. Yes, you do have an as2 formatter, because you have Flash CS3. Flash has always been backwards compatible, and still is. Just change your publish settings. As for your flash player issue Report it
Sorry, but you are not understanding me - I do not have an AS 2.0 formatter because the formatter I have with CS3 breaks code no matter what version of ActionScript I am in - the Flash 8 one didn't.
As for using non-standard coding, here is an example:
halfWinPositionWidthRelative=visibleImageW / (2 * fullWidth);
Is formatted to:
halfWinPositionWidthRelative=visibleImageW / 2 * fullWidth;
To give you an idea of why this is so bad:
var visibleImageW =50;
var fullWidth = 1500;
trace(visibleImageW / 2 * fullWidth) // traces 37500
trace(visibleImageW / (2 * fullWidth)) // traces 0.0166666666666
As another symptom (more an irritant than a problem) all my "new WhateverClassNameIAmUsing();" declarations get formatted to "new WhateverClassNameIAmUsing ;"
This means that I _cannot_ use the auto formatter for any of my work as it _breaks_ my code - resulting in endless loops, random madness and absolute corruption of all the work I have done.
I have compared with another CS3 user and the results are specific to my machine - which is why I want to find out how to fix the corruption on my machine.
I would contact adobe directly
Hadn't realised I could until now - although having created an error report, there is an ominous note about "verifying my support policy" that could be an issue.