PDA

View Full Version : Flash movie does not show


tns123j
08-05-2008, 01:48 AM
I have an flash movie embeded in the site below. For some reason it won't show. I think it's a CSS issue.

site (http://alpineec.com/TEST/projects_watersupply.php)

<object style="position:relative; left:100px;" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="320" height="240" id="FLVPlayer">
<param name="movie" value="FLVPlayer_Progressive.swf" />
<param name="salign" value="lt" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=images/photos/excavating01b&autoPlay=false&autoRewind=true" />
<embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=images/photos/excavating01b&autoPlay=false&autoRewind=true" quality="high" scale="noscale" width="320" height="240" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />
</object>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><head>
<meta http-equiv="zrefresh" content="3" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Alpine Environmental Consulting</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<title>Zenlike by Free CSS Templates</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link rel="stylesheet" type="text/css" href="default.css" />
<script type="text/javascript">
function MM_CheckFlashVersion(reqVerStr,msg){
with(navigator){
var isIE = (appVersion.indexOf("MSIE") != -1 && userAgent.indexOf("Opera") == -1);
var isWin = (appVersion.toLowerCase().indexOf("win") != -1);
if (!isIE || !isWin){
var flashVer = -1;
if (plugins && plugins.length > 0){
var desc = plugins["Shockwave Flash"] ? plugins["Shockwave Flash"].description : "";
desc = plugins["Shockwave Flash 2.0"] ? plugins["Shockwave Flash 2.0"].description : desc;
if (desc == "") flashVer = -1;
else{
var descArr = desc.split(" ");
var tempArrMajor = descArr[2].split(".");
var verMajor = tempArrMajor[0];
var tempArrMinor = (descArr[3] != "") ? descArr[3].split("r") : descArr[4].split("r");
var verMinor = (tempArrMinor[1] > 0) ? tempArrMinor[1] : 0;
flashVer = parseFloat(verMajor + "." + verMinor);
}
}
// WebTV has Flash Player 4 or lower -- too low for video
else if (userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 4.0;

var verArr = reqVerStr.split(",");
var reqVer = parseFloat(verArr[0] + "." + verArr[2]);

if (flashVer < reqVer){
if (confirm(msg))
window.location = "http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash";
}
}
}
}
</script>
<script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body onload="MM_CheckFlashVersion('7,0,0,0','Content on this page requires a newer version of Adobe Flash Player. Do you want to download it now?');">

<div id="upbg">
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p align="center"><img src="images/stertch.jpg" alt="" width="100%" height="140" /></p>
</div>

<div id="outer">
<div id="header">
<div id="headercontent">
<h2>&nbsp;</h2>
</div>
<img src="images/main_logo_noglow" alt="Alpine" width="700" height="150" /> </div>

<div id="menu">
<!-- HINT: Set the class of any menu link below to "active" to make it appear active -->
<ul>
<li><a href="index.php">Home</a></li>
<li><a href="aboutus.php">About Us</a></li>
<li><a href="services.php">Services</a></li>
<li><a href="projects.php" class="active">Projects</a></li>
<li><a href="testimonials.php">Testimonials</a></li>
<li><a href="contact.php">Contact</a></li>
</ul>
</div>

<div style="background-image: url(./images/slideshow/DSC_4678.jpg);" id="photodiv"></div>

<div id="content"><div id="normalcontent">
<p><br />
Projects&gt;Water Supply<br />
</p>
<h2>CRV Well Field</h2>
<p>&nbsp;<br />
In early 2003 AECI, in conjunction with Groundwater Investigations (GWI) and Bipin Gandhi, PE, PC was evaluating potential new water sources for the Village of Goshen, NY. Goshen had a 100 year history of water shortages and was facing the worst drought since 1965 when its former emergency supply was cut off in the spring of 2003.<br />
<br />
At that time soil borings had been performed on the CRV site. Over a 3 month period, the following tasks were completed:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1. Productions well drilled and developed<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2. Pump testing and water quality analysis<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3.Temporary pumping, treatment, and transmission facilities were designed and approved by the Heath &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Department<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.Emergency Water Supply Application (WSA) prepared and approved by DEC<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.Coordination in locating and purchasing 3.3 miles of 12” HDPE NSF approved pipe. Some of the pipe needed &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;to be manufactured, as supplier yards nationwide did not have adequate inventory to meet the emergency &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;need.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;6.Construction observation and administration.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.Bridging a wetlands crossing using surplus bridge decking in order to delay permitting requirements.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Our efforts were followed by independent film maker Mark Dorrier and form a part of his film “The Land of &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Goshen.”<br />
<div class="contentarea">
<div id="pgTWO">
<ul>
<li><a href="#"><img src="images/photos/water_CRV_01.jpg" alt="" /></a></li>
<li><a href="#"><img src="images/photos/water_CRV_02.jpg" alt="" /></a></li>
</ul>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
</div>
</div> </div>

<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','320','height','240','id','FLVPlayer','src','FLVPlayer_Progress ive','flashvars','&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=images/photos/excavating01b&autoPlay=false&autoRewind=true','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage',' http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','FLVPlayer_Progressive' ); //end AC code
</script>
<noscript>
<object style="position:relative; left:100px;" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="320" height="240" id="FLVPlayer">
<param name="movie" value="FLVPlayer_Progressive.swf" />
<param name="salign" value="lt" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=images/photos/excavating01b&autoPlay=false&autoRewind=true" />
<embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=images/photos/excavating01b&autoPlay=false&autoRewind=true" quality="high" scale="noscale" width="320" height="240" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />
</object>
</noscript>

<br />
<br />
<br />
<br />
<br />


<p>The well was brought on line with 3 weeks to spare and Goshen did not run out of water. The CRV well field was subsequently permitted by NYSDEC and ACOE. Design and construction of the permanent facilities has proceeded, with the above ground pipeline being permanently installed below grade in 2006. A one hundred year long water shortage solved!<br />
AECI has also provided water resource consulting for the Towns of Crawford and Wawayanda, E. Tetz and Sons, and others. While compiling the Town of Wawayanda Comprehensive Plan of 2000, AECI completed a Town-wide study of water resources and prepared aquifer protection regulations for the Town of Wawayanda. </p>




<!-- Primary content: Stuff that goes in the primary content column (by default, the left column) -->
<div id="primarycontainer"></div>


<!-- Secondary content: Stuff that goes in the secondary content column (by default, the narrower right column) -->
</div>

<div id="footer">
<div class="left">
<?php include('./footer.php');?>
</div>
</div>
</div>

</body>

</html>

_Aerospace_Eng_
08-05-2008, 04:05 AM
You are missing the Scripts folder that has the javascript you need for it to work. It should be here according to your code. http://yoursite.com/Scripts/AC_RunActiveContent.js

tns123j
08-05-2008, 12:06 PM
So now I added it and the page got larger, like the object was inserted, but it's not visible.

K-PRO
08-05-2008, 02:05 PM
if ur using frontpage then find this

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

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

and note that the folder and file names shud be the exact same as written in the code regarding the cap letters...


tell me if it works and i hope i help

tns123j
08-05-2008, 11:38 PM
Using Dreamweaver.

I tried the above anyway and it still didn't work. The Scripts folder is one level up so the ../ is correct.

Any other thoughts?

tns123j
08-05-2008, 11:48 PM
I got it. The path to the movie was wrong.

Thanks for your help.