Flash in html or xhtml

Is it better to use html or xhtml for incorporating flash and in xhtml is there a way to get it right besides using the “flashsatay” workaround? I’m trying to have all my pages xhtml and css compliant.