Posts Tagged ‘Flash Animation Objects’

A design challenge or a mole hill that looked like a mountain? – Flash Movies and the Firefox Browser

Sunday, May 31st, 2009

One of the main aims for Designably is to serve as an online portal for free design and engineering education. The goals are lofty, I know, but I wanted to throw content out there, as much as a single guy with ADD can :).  And, with this aim, I downloaded “Question Writer”, a nice little software that helps you create simple multiple choice tests. It took me about 20 minutes or so to think through a few questions and create a test. I was able to publish it out to html in no time.

Pleased with myself, I uploaded it, tested it, and then – decided to circumscribe my site’s basic css design around it. A few hoops later, I decided to use a server side include for the quiz. Then, disaster struck!

The test contained in an Adobe Shockwave Flash Object loaded just fine on IE and even on Chrome. But Firefox and Opera would not do be me any such favors. Specifically, the flash quiz loaded too small as you can see in this image (opens in new window):

http://designably.com/blog/images/screenshot-before.jpeg

I spent a few hours blaming my CSS for it. I went through the sheet up and down, left and right..well you get the picture. And then, I scrubbed the html high and low…I finally landed on this website:

http://www.actionscript.org/forums/showthread.php3?t=82685

After tussling with everything, I came across the “Damned if you do, Damned if you don’t” solution.

1.  If according to the standards you included:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

then Firefox told you to go stuff it that it was not going to allow flash objects to a reasonable site.

2. If on the other hand,  if you violate the first thing in Web standards, then of course, things work out. That is, you either delete that line above the html tag, or comment it out. Life’s like that I suppose.

Anyway, here are the end results:

http://designably.com/education/quiz/fundamental/index.shtml

I guess you could say it was a “mole hill” and not a mountain. However, it did piss me off to Kingdom come.

What kind of a browser would demand you violate web standards to allow you to play a simple animation?

And guess what, it still won’t work in Opera…!

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Visit Us On FacebookVisit Us On TwitterCheck Our Feed