Reply
I have troulbe with swf object in Internet explorer
Old 03-07-2008, 06:27 AM I have troulbe with swf object in Internet explorer
Junior Talker

Posts: 2
Hello,
Im using swfobject to embed my swf files in html. I have this code:

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>72pics - Let you images tell a story!</TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</script>
<style type="text/css">
body {  margin-top: 0px;  margin-right: 0px;  margin-bottom: 0px;  margin-left: 0px;}
</style> </HEAD>
<BODY>  
<script type="text/javascript" src="swfobject.js">
<div id="flashcontent">
</div>
<script type="text/javascript">
var so = new SWFObject("index.swf", "main", "100%", "100%", "9", "#ffffff");
so.useExpressInstall("expressinstall.swf");
so.write("flashcontent");
</script>
</BODY>
</HTML>
And it works fine in fire fox, but not in Internet explorer. I get a blank page...

What could be the reason?

Regards,
Mirza
mirzahat is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 03-07-2008, 10:47 AM Re: I have troulbe with swf object in Internet explorer
LadynRed's Avatar
Super Moderator

Posts: 6,539
Location: Tennessee
Where's the css for #flashcontent ??

Did you follow ALL the instructions for swfObject ?
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 03-07-2008, 10:53 AM Re: I have troulbe with swf object in Internet explorer
Novice Talker

Latest Blog Post:
Cute pink text style
Posts: 8
When I do flash embed I usually do it like this.

Code:
<object width="200" height="200"><param name="movie" value="somefilename.swf"><embed src="somefilename.swf" width="200" height="200"></embed></object>
pelle is offline
Reply With Quote
View Public Profile
 
Old 03-07-2008, 10:59 AM Re: I have troulbe with swf object in Internet explorer
LadynRed's Avatar
Super Moderator

Posts: 6,539
Location: Tennessee
Yeah.. the idea is to NOT use that nasty old <embed> tag !
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 03-07-2008, 12:15 PM Re: I have troulbe with swf object in Internet explorer
Novice Talker

Latest Blog Post:
Cute pink text style
Posts: 8
why not use the "nasty" embed tag and why is it nasty? (if there is something wrong with it, I would like to know so I will stop using it)
pelle is offline
Reply With Quote
View Public Profile
 
Old 03-07-2008, 12:48 PM Re: I have troulbe with swf object in Internet explorer
LadynRed's Avatar
Super Moderator

Posts: 6,539
Location: Tennessee
Yes, it's bad and it WILL cause problems with activation in IE. I suggest you read this stickie for alternatives: http://www.webmaster-talk.com/html-f...audio-web.html
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to I have troulbe with swf object in Internet explorer
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.14644 seconds with 12 queries