WhiteDragon
10-19-2008, 10:10 PM
I got a problem with SWFObject, it a) is not showing my background transparent in FF and b) it keeps showing "flash player not installed" yet the flash is working right there if you wanna see code I can post.
|
Click to See Complete Forum and Search --> : SWFObject Problem WhiteDragon 10-19-2008, 10:10 PM I got a problem with SWFObject, it a) is not showing my background transparent in FF and b) it keeps showing "flash player not installed" yet the flash is working right there if you wanna see code I can post. Eye for Video 10-30-2008, 10:45 AM So does the transparency work in IE, but not in FF? The Flash will play in both but in FF it's not transparent? If neither play it transparent, perhaps the problem is in the .swf having a solid background instead of white. Here's an example of swfobject that works fine in FF: <div id="nav_buts"> <script type="text/javascript"> // <![CDATA[ var so = new SWFObject("nav_buts.swf", "nav_buts.swf", "230", "250", "8", "#000000"); so.addParam("wmode", "transparent"); so.write("nav_buts"); // ]]> </script> </div> One other thing about FF and Flash transparency is when it's used with absolute positioning of the <div> holding the Flash, seems like it just doesn't work. There have been a few other posts that touch on that issue. Not sure how to resolve it though... Best wishes, EfV Eye for Video 10-30-2008, 10:58 AM Hey wait, after a second look at your post I have another question. When you say: it keeps showing "flash player not installed" Is it the "alternate content" listed above the swfobject code on the HTML page? To test that, go to your HTML page and look for "flash player not installed" in the code around the swfobject. Change that to read "but my flash player is installed". Then reload the page. If that new text shows up, your swfobject is not being called or it's being called but is not working. Double check your swfobject code, including the path etc. set in the <head> <script type="text/javascript" src="swfobject.js"></script> Depending on which version you are using your code may be different but you get the idea. EfV WhiteDragon 10-30-2008, 11:34 AM Thank you I got the problem fixed it has to do with the order of some closing tags in the HTML had to be re-arranged. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |