I have had issues where Flash wasn't behaving properly and it was because the browser thought that it was rendering HTML that was written in a certain fashion when it was actually written in a different fashion. Validating fixed the issues.