transparent background of flash animation, code using problem |
transparent background of flash animation, code using problem |
![]()
Post
#1
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 31 Joined: Nov 2005 Member No: 282,502 ![]() |
I am using a extra module which doesn't support:
1* <FLASH Vars=> 2* <script language="JavaScript"> 3* <OBJECT> Therefore I put a swf. in it with a code like this: The "wmode="transparent"" part helps to make its background transparent, firefox can show it normally, but IE can only show a blank box without anything! And the pt. is, the code works fine when I put it in "interest" but not extra module, both in firefox and IE, it's shown normally. The question is, how can I make it's background transparent, and can be shown normally both in IE and firefox, when I put the swf. in extra module? |
|
|
![]() |
![]()
Post
#2
|
|
![]() "eLm0s woRLd" ![]() ![]() ![]() Group: Member Posts: 49 Joined: Nov 2005 Member No: 297,187 ![]() |
well.. theres an option to make the background transperent IN flash.. go to export options and there should an option for you to make it transperent.. letme know it that worked out...
|
|
|
![]()
Post
#3
|
|
![]() Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 122 Joined: Feb 2005 Member No: 106,057 ![]() |
i haven't tried yet, but i'm guessing the export options will simply create an html file using the <object> tags and a <param> that turns on the transparency. Unfortunately, I think <object> is the only way to make it work in IE, so you might have to stick some javascript nonsense outside of your custom module that dynamically inserts in the <object> into your custom module.
kinda confusing, i guess, but here's what you'll probably have to do (hopefully you know javascript): something like this goes into your custom module: CODE <div id="flashobject"> </div> then something like this goes at your website stats/ page footer area: CODE <script language="javascript">
document.getElementById("flashobject").innerHTML = "<ob" + "ject><!--your original flash object html stuff goes here --></obj" + "ect>" </script> |
|
|
![]() ![]() |