View Full Version : Movie not loading

12-06-2006, 08:39 PM
Hi! I definitely need help. I'm new web developer. I having problem with my flash banner loading. I put both html and swf files in the same directory. However when my html files load, the swf file is not loading. Below is my coding.

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<body bgcolor="#330033">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="800" height="300" id="alcc" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="alcogic/alcc.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#378cb1" /><embed src="alcogic/alcc.swf" quality="high" bgcolor="#378cb1" width="800" height="300" name="index" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />

12-08-2006, 10:06 AM
well... just looking at the codeI can't be exactly sure... but:


SHOULD match the same in the PARAM lines:


Also this is old coding (using MX04?? ) the <embed> tag wont validate and there are better ways to put your Flash on the web.

If you want more details after you get the swf loaded just ask :D

02-14-2007, 05:05 PM
hi there- you mentioned there are better ways to put flash on a web page. Could you go into more details?


02-14-2007, 10:26 PM
The idea is to make Flash accessible to everyone, or at least as many people as possible.

The way to do this is to remove the <embed> tag all together. It isn't needed.

Then re-write your code that the published HTML puts out with some JS.

Full instructions on this part can be found HERE (http://learningflashmx.com/fix_activex.htm)

Once you are done, validate your page. If done correctly it should pass validation 100&#37;.

If you need more of an idea of what to add and what to leave check the source code of this page (http://cleverwasteoftime.com/main.html)

You will see how I have done what that tutorial page says, and how I have removed the <embed> tag.