trace("it's not defined");
ErrorMessage="Not a valid e-mail address" runat="server" />
After some searching I found a couple of pages that suggested it could be a font embed problem. http://mc-computing.com/languages/ActionScript/Rotating_Text.html has some good info on that. But the problem remained since I used "Anti-alias for readability" and had the font embedded.
Then the solution to an older problem struck me. I had prior had trouble with keeping the font format while changing the text. Appearently things like letter spacing etc is removed once the new text is set. The solution to this is to store away the font format, change the text and then set the font format back. I tested if that could be the case also for rotated text and it was!
var tf:TextFormat = txtHeader.getTextFormat();
txtHeader.text = "MY NEW TEXT";
What it turned out to be is the way ASP.NET renders XHTML. This is controlled within the web.config:
<xhtmlconformance mode="Legacy"/>Our problem was that the automaticly generated line said Legacy, what actually means ASP.NET 1.1 compatible. As we uses strict XHTML 1.0 a better choice would be:
<xhtmlconformance mode="Strict"/>And then, lo and behold, after changing mode to Strict the client side validation worked perfectly in Firefox!!
More about xhtmlConformance:
"The file may be read-only or is already open in another application.
Save using a different name, or close the document and try again."
However saving using a different name resulted in the exact same message.
So how to come around this bug and save hours of work? Well here's the solution:
1) Go to the main scene the file you cannot save.
2) Select all frames over all layers.
3) Right click and select to "Copy Frames".
4) Now, open a new project and select the first frame in it.
5) Right click and select "Paste Frames".
6) Voila, now you can save your new file!