View Full Version : Scalable SWF for Bookworm

01-16-2010, 12:55 PM

I've been experimenting with scalable swf animations in an EPUB document. I'm using the object tag to embed the file in my xhtml file. To make it scale along with the surrounding text I've declared the width and hight of the object in em (instead of pixels). I've also tried using %. It all works fine in ADE, but it doesn't work in Bookworm or in any browser. The SWF file doesn't display at all when the page is opened in a browser.

It's also funny because it's possible to use % or em in an object tag when embedding for instance an SVG file. Don't get it...

So my question is, does anyone know how to declare an SWF file in XHTML so that it scales? I'd be really happy for any help with this, I've tried a lot of things, but nothing seems to work properly.


01-18-2010, 11:33 AM
Apparently the SWF file needs to be embedded in an object tag...