Index: /FCKeditor/trunk/_whatsnew.html
===================================================================
--- /FCKeditor/trunk/_whatsnew.html	(revision 1114)
+++ /FCKeditor/trunk/_whatsnew.html	(revision 1115)
@@ -113,4 +113,6 @@
 		<li>Completed Simplified Chinese translation of the user interface.</li>
 		<li>Completed Estonian translation of the user interface.</li>
+		<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1406">#1406</a>] Editor
+			was always "dirty" if flash is available in the contents.</li>
 		<li>Several compatibility fixes for Firefox 3 (Beta 1):
 			<ul>
Index: /FCKeditor/trunk/editor/_source/internals/fckdocumentprocessor.js
===================================================================
--- /FCKeditor/trunk/editor/_source/internals/fckdocumentprocessor.js	(revision 1114)
+++ /FCKeditor/trunk/editor/_source/internals/fckdocumentprocessor.js	(revision 1115)
@@ -128,4 +128,6 @@
 	*/
 
+	var bIsDirty = FCK.IsDirty() ;
+
 	var aEmbeds = document.getElementsByTagName( 'EMBED' ) ;
 
@@ -153,4 +155,8 @@
 		}
 	}
+
+	// Fix the IsDirty state (#1406).
+	if ( !bIsDirty )
+		FCK.ResetIsDirty() ;
 }
 
