Another inconsistency with Chrome Flash Player 21.0.0.213
Hello,
Following the recent upgrade of the Chrome Flash Player to 21.0.0.213, I think I have uncovered another unexpected inconsistency. If I have the following paste handler:
protected function application1_pasteHandler(event:Event):void {
var text : String = Clipboard.generalClipboard.getData(ClipboardFormats.TEXT_FORMAT) as String;
label.text = text.replace(/\r/g, "R").replace(/\n/g, "N");
}
to indicate the \n and \r spacial chars in the paste buffer and then paste the buffer "a\nb\r\nc\rd\n" I see "aNbNcdN" in IE and "aNbRNcRdN" in Chrome. This leads me to believe that the IE Flash Player is stripping out the carriage return characters when fetching from the clipboard and Chrome is leaving them intact.
I am testing on Windows with the debug Flash player (21.0.0.213) for both IE and Chrome.
I suspect that the Chrome behaviour has changed in the latest release; however, I guess that this is actually the correct behaviour! Either way, my application is now broken in Chrome.
Is anyone else having similar issues?
Are Adobe aware of this problem?
Thanks,
Justin
