Log In · Register

 
transparent background of flash animation, code using problem
beclovesang
post Feb 4 2006, 03:07 AM
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?
 
 
Start new topic
Replies
threepointone
post Feb 22 2006, 03:11 PM
Post #2


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>
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: