Help - Search - Members - Calendar
Full Version: Flash won't work with on my website
HTMLHelp Forums > Web Authoring > Graphics, Flash and Multimedia
Chantilly_Lace
Here is my website

wysockidigital.com


Here is the code for this website

CODE
<!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>Wysocki Digital</title>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>

<html>
<head>
<style type="text/css">
body
{
background-image:url('Black_Background.jpg');
}
</style>
</head>

<body>
<div align="center">
  <script type="text/javascript">
AC_FL_RunContent( 'codebase',' http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','width','800','height','600','align','middle','pluginspage','http://www.adobe.com/go/getflashplayer','src','http://www.wysockidigital.com/Wysocki_WEBSITE','allowscriptaccess','always','movie','http://www.wysockidigital.com/Wysocki_WEBSITE' ); //end AC code
</script>
  <noscript>
  <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=" http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="800" height="600" align="middle"> <param name="movie" value="http://www.wysockidigital.com/Wysocki_WEBSITE.swf"> <param name="allowScriptAccess" value="always"> <embed type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" width="800" height="600" align="middle"
src="http://www.wysockidigital.com/Wysocki_WEBSITE.swf" allowScriptAccess="always"></embed>
</object>
  </noscript>
</div>
</body>
</html>





</body>
</html>



I came on a website for help and the gave me a code to look at and I put it in place for the flash. It works when I test it in a browser but when I load it to my website, it doesn't show up. Can someone tell me what is wrong with my coding please? I have all the necessary pages loaded on my ftp server for the website to work, but only the background color will show up. Please help! Thanks!
pandy
You don't have the script, at least not where you say it is.
http://wysockidigital.com/Scripts/AC_RunActiveContent.js
Chantilly_Lace
QUOTE(pandy @ Aug 10 2009, 02:09 PM) *

You don't have the script, at least not where you say it is.
http://wysockidigital.com/Scripts/AC_RunActiveContent.js



but I have uploaded the script to the ftp, what do you mean? Where should it be?
pandy
Wherever you want. But the URL you use in the HTML must really lead to it.
Chantilly_Lace
I'm sorry, I don't really understand what you are saying. I need the site in my html to lead to the active java script? What does that mean exactly? How would I go about that? type in the java in place of the url?
pandy
You already have.

HTML
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>


But the script isn't at that URL, 'Scripts/AC_RunActiveContent.js' which resolves to http://wysockidigital.com/Scripts/AC_RunActiveContent.js .

The JS bit you have in BODY just passes parameters to a function that's really in the external JS file.
pandy
I found your script. It's here: http://wysockidigital.com/AC_RunActiveContent.js .
Chantilly_Lace
ok I got it. Thank you so much, it's working now!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.