|
|
Full Browser Flash, DOCTYPE & Firefox – revisitedLast time I suggested deleting DOCTYPE line to solve the problem that full browser Flash not working in Firefox. A lot of people said it wasn’t a good practice. The problem can be solved by setting body height to 100% or using loose.dtd DOCTYPE. After Firefox 2.0 was out, removing the DOCTYPE line became the only solution. But I’m more worried about future browser releases, such as Firefox 3.0 which is right at the corner. Full browser flash may not be able to be done without Javascript. I think I’ll try to enhance SWFobject a bit, maybe add an onResize listener to the window object and update the Flash dimension with Javascript. Then my sites will be safe from the DOCTYPE threat forever. …I’m really writing a lot of HTML and Javascript stuff in my Flash blog… Leave a Reply |

There\’s been a full screen example using CSS (with a DOCTYPE) included with SWFObject for a couple of years now…
http://blog.deconcept.com/swfobject/fullpage.html
get it at:
http://blog.deconcept.com/swfobject/
Cool, thanks! I\’ve looked through your code. So the trick is to set: html height 100%, body height 100% and div height 100%. It doesn\’t work without any single one. Hope this trick won\’t be affected if new standards come out. HTML is indeed tricky. I\’ll stick with my Flash.
This is similar to your problem.
I’m using a logo banner that is 100% wide and 20% high. The problem is that in Firefox, the banner is OK but there is an extra 20% white space on both sides of the Flash movie. It is fine in IE. It works OK in FF with HTML 3.2, so it must have something to do with new specs in DOCTYPE HTML 4.01.
Nothing seems to work except downgrading the page to 3.2.