Log in

View Full Version : Swf movie wont load



Mopia
07-03-2009, 05:18 PM
Hey, im trying to get my swf movie to load at

http://www.musicknockout.net/main.htm

All you will see is the movie, without it actually loading.

The swf movie is located here
http://www.musicknockout.net/Flash/~~main.swf

I know i should probably put it all in the same folder but i already tried that but still no go, i also saved it as php.. i pretty much tried everything. still, i have no idea.

Source code for main.htm


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>

<body>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','1020','height','300','align','absmiddle','title','~~main','src','http://www.musicknockout.net/Flash/~~main','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','bgcolor','#FF0000','movie','http://www.musicknockout.net/Flash/~~main' ); //end AC code
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="1020" height="300" align="absmiddle" title="~~main">
<param name="movie" value="http://www.musicknockout.net/Flash/~~main.swf" />
<param name="quality" value="high" />
<param name="BGCOLOR" value="#FF0000" />
<embed src="http://www.musicknockout.net/Flash/~~main.swf" width="1020" height="300" align="absmiddle" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#FF0000"></embed>
</object>
</noscript>
</body>
</html>


I also made a new map Scripts with AC_RunActiveContent.js in it . source for that:
http://www.musicknockout.net/Scripts/AC_RunActiveContent.js



Yes i'm a newbie with coding im better with flash design. not really that great with coding and stuff, please help me out here :( thanks!

X96 Web Design
07-03-2009, 06:05 PM
Could it be in here? ::

<script type="text/javascript">
AC_FL_RunContent( ... 'src','www.musicknockout.net/~~main','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','bgcolor','#FF0000','movie','www.musicknockout.net/~~main' ); //end AC code
</script>

I don't know how the JS file is set up, but shouldn't the URL's have http:// in front of them? Don't know if It'll work, but might be worth a shot...

Or maybe, just use the OBJECT code instead of generating it via the JavaScript...

// X96 \\

Mopia
07-03-2009, 06:14 PM
thanks for the reply, leme try

Mopia
07-03-2009, 06:17 PM
Yes ! its working :) thank you so much :D something so small lol..cant believe i wasted so much time just for that :P thanks again man

X96 Web Design
07-03-2009, 06:19 PM
You're welcome! Happy to help. :)

// : X 9 6 : \\