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 (1 - 2)
eLm0s
post Feb 22 2006, 01:06 PM
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...
 
threepointone
post Feb 22 2006, 03:11 PM
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>
 

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