you have to insert the flash directly into the html. EDIT: although a way you might be able to do it is with: .flash-button { content: "[B]code for flash inserted here[/B]"; display: block; width: 50px; height: 50px; } Code (markup): note that even if that works which i actually doubt and have never tried... it would not be the proper way to do it
(In your HTML, *NOT* CSS) <object type="application/x-shockwave-flash" data="file.swf" width="1337" height="1337"> <param name="movie" value="file.swf" /> <param name="quality" value="high" /> <param name="wmode" value="transparent" /> </object> object is supported by modern browsers, IE gets the param file. AFAIK, IE doesn't support the "content" property, so it would be stupid using it.
Nah it dosn't. Just want to make clear too that although i posted it may be possible that way in CSS... it isn't recommended as it isn't semantic, or accessible and would only cause problems. Also if you plan to insert flash without the embed tags i reccomend you read this article on a list apart