This thread has drifted a bit off topic, but I wanted to respond to the original title...
As of right now, Flash CS5 cannot export or save into HTML/CSS/Javascript.
You can youtube some old demos that show the ability to cut and paste animation out of the timeline and paste it into a HTML canvas tag... We were expecting to see this in CS5 (it was in the beta), but it seems to not have arrived... I would expect this functionality to be in CS5.5 next year.
Adobe is pushing the "author once / publish everywhere" mantra, so I think it is inevitable that flash will eventually allow you to choose whether your flash files are saved as SWF or AIR or HTML/CSS/Javascript. Perhaps they can pull this off for 5.5 but I would guess we are more likely to see it in CS6.
SWF is an open standard, and has been for some time... Adobe makes money selling Flash (and related tools), but has no large financial motivation to keep SWF its only output...