Inserting flash(swf) files directly in XHTML causes w3c validation errors. This article explains how to embed flash in XHTML pages with out affecting the page Validation.
The Usual method is to use “<object>” tag and “<embed>” tag to insert the flash files in web pages. This causes errors while validating the page as per the w3c standards.