View Single Post
Old 01-16-2010, 12:55 PM   #1
ninni
Junior Member
ninni began at the beginning.
 
ninni's Avatar
 
Posts: 6
Karma: 10
Join Date: Jan 2010
Location: Helsinki, Finland
Device: Sony
Scalable SWF for Bookworm

Hello!

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.

Ninni
ninni is offline   Reply With Quote