|
-
Problem viewing a Flash site in IE8
Guru's, I have a problem. When I first view riversidecounselingservices.com with Internet Explorer 8, everything loads as would be expected.
However, if I were to go to a new url in that same tab and try to go back to the original site, all I will see is the loading screen which is stuck at 0%.
The above mentioned site works perfectly in Firefox, Chrome and Safari. If you have any clue as to why it will not load once you leave the site and go back to it, I would love to hear it.
FYI, I'm loading the content with swfobject. I tried both static and dynamic methods. It is currently set to load dynamically.
Thanks for any help in this matter.
-
To clarify the problem, in IE8, any time the page is refreshed (F5), be it from going to a different url or just hitting the refresh button, the content will not load properly.
-
have the same problem, plx let me know jis u have any solution, ill do the same, btw my site that have the problem is www.joseluisespinosa.com
let me know urs to see if i can render it correctly
-
Hi JoeKeo, I was only able to get yours to load properly in Firefox. What are you using to load the .swf file?
For example, I'm using swfobject dynamic publishing. Example of the html below:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>SWFObject dynamic embed - step 3</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
swfobject.embedSWF("myContent.swf", "myContent", "300", "120", "9.0.0");
</script>
</head>
<body>
<div id="myContent">
<p>Alternative content</p>
</div>
</body>
</html>
-
hi, i post u my code, hope it help in something, i can see the website in all the browsers but only through directadmin site, dont know if this help ;P
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Sustratos Artificiales</title>
<script type="text/javascript" src="swfobject.js"></script>
<style type="text/css">
/* hide from ie on mac \*/
html {
height: 100%;
overflow: hidden;
}
#flashcontent {
height: 100%;
}
/* end hide */
body {
height: 100%;
margin: 0;
padding: 0;
background-color: #181818;
color:#ffffff;
font-family:sans-serif;
font-size:20;
}
a {
color:#cccccc;
}
</style>
</head>
<body>
<div id="flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
<script type="text/javascript">
var fo = new SWFObject("SA.swf", "viewer", "100%", "100%", "8", "#181818");
// SIMPLEVIEWER CONFIGURATION OPTIONS
// To use an option, uncomment it by removing the "//" at the start of the line
// For a description of config options, go to:
// http://www.airtightinteractive.com/s...r/options.html
//fo.addVariable("xmlDataPath", "gallery.xml");
//fo.addVariable("firstImageIndex", "5");
//fo.addVariable("langOpenImage", "Open Image in New Window");
//fo.addVariable("langAbout", "About");
//fo.addVariable("preloaderColor", "0xFFFFFF");
fo.write("flashcontent");
</script>
</body>
</html
-
I changed the way you were using swfobject to display the flash content. I followed the dynamic loading instructions from their site. Below is the html:
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Sustratos Artificiales</title>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
swfobject.embedSWF("SA.swf", "myContent", "100%", "100%", "9.0.0");
</script>
<style type="text/css">
body {
height: 100%;
margin: 0;
padding: 0;
background-color: #181818;
color:#ffffff;
font-family:sans-serif;
font-size:20;
}
a {
color:#cccccc;
}
</style>
</head>
<body>
<div id="myContent">
<p>SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></p>
</div>
</body>
</html
Somethings to keep in mind when you use the html above is to change the following variables to match your data.
swfobject.embedSWF("SA.swf", "myContent", "100%", "100%", "9.0.0")
SA.swf = your flash file name.
myContent = the alternate content visitors of the site will see if they do not have flash plugin iinstalled.
100% = the dimension of your flash file. I only include that because you did in your original html. I personally would change 100% to the exact pixel dimensions. ie. "1000" "700".
9.0.0 = the flash player version you assigned your flash content when you published it. If you are not sure which version you published your flash file in, go back and check.
Hope that helps.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|