PDA

View Full Version : Flash does not work on my index page


tsw8848
Sep 22, 2007, 03:32 AM
I have been designing a website using dreamweaver which incorporates flash.

When I view the site in preview everything works perfectly. I have uploaded to the server and the flash works perfectly on some pages but not on the index page where it doesn't show at all.

I have tried changing another page where it works to the index page but the same problem happens, i.e. the flash will not show or work on the INDEX page alone. What if anything am I missing? I assume that as it works on some pages but not on the index page the problem is an HTML issue, am I wrong?

Help please this has taken days to get me to the jumping out of the window stage.

Tom Wilson

jstrike
Sep 28, 2007, 07:28 AM
If you are using 3rd party for hosting they may have something that blocks flash on the index page, check with them before you try any of my suggestions.

You can try using an IFrame on the index page and setting the src attribute to another HTML file that has the flash in it... this is an ugly solution though.
Another idea would be to use JavaScript to write out the HTML code for the flash using document.write. This method should also get rid of the annoying "Click to activate and use this control" message.

tsw8848
Oct 1, 2007, 06:04 AM
Thanks for that - I tried the first solution but it is okay.

The third thing you suggest appeals to me would you mind explaining the process to make this work. It sound good.
Thanks
T

jstrike
Oct 1, 2007, 10:30 AM
You would have something like this...


<html>
<body>
<h1>Hello World</h1>
<script>
document.write("....put the html for your flash object in here....");
document.write("....put the html for your flash object in here....");
</script>
</body>
</html>

tsw8848
Oct 1, 2007, 01:27 PM
Thank you I will try that and let you know how successful I am.
T