3 Replies Latest reply on May 5, 2010 12:14 PM by lizard81288

    where does Scripts go?

    lizard81288

      when i tried previewing it in an ftp this came up:

       

      http://img291.imageshack.us/img291/1889/51633194.jpg

       

      so where am i suppose to put it. this is probably why my movies are not playing, correct? i looked and the folder is uploaded. i'm using cs4 and the FLV movie option in DW. its in my code too, so why doesn't my movies play? (Scripts is bolded):

       

       

      <!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>
      &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <title>Welcome to Lizard's Free Games - Cave Story</title>
      &lt;style type="text/css">
      <!--

       

      /* Tips for Elastic layouts
      1. Since the elastic layouts overall sizing is based on the user's default fonts size, they are more unpredictable. Used correctly, they are also more accessible for those that need larger fonts size since the line length remains proportionate.
      2. Sizing of divs in this layout are based on the 100% font size in the body element. If you decrease the text size overall by using a font-size: 80% on the body element or the #container, remember that the entire layout will downsize proportionately. You may want to increase the widths of the various divs to compensate for this.
      3. If font sizing is changed in differing amounts on each div instead of on the overall design (ie: #sidebar1 is given a 70% font size and #mainContent is given an 85% font size), this will proportionately change each of the divs overall size. You may want to adjust based on your final font sizing.
      */
      .oneColElsCtrHdr #container {
          width: 46em;  /* this width will create a container that will fit in an 800px browser window if text is left at browser default font sizes */
          background: #FFFFFF;
          margin: 0 auto;
          text-align: left; /* this overrides the text-align: center on the body element. */
      }
      .oneColElsCtrHdr #header {
          background: #FFFFFF;
          padding: 0 10px 0 20px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
      }
      .oneColElsCtrHdr #header h1 {
          margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
          padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
      }
      .oneColElsCtrHdr #mainContent {
          padding: 0 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
          background: #FFFFFF;
      }
      .oneColElsCtrHdr #footer {
          padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
          background:#FFFFFF;
      }
      .oneColElsCtrHdr #footer p {
          margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
          padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
      }
      -->
      </style>
      &lt;script src="../Scripts/swfobject_modified.js" type="text/javascript">&lt;/script>
      &lt;script type="text/javascript">
      <!--

      function MM_preloadImages() { //v3.0
        var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
          var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i&lt;a.length; i++)
          if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
      }

       

      function MM_findObj(n, d) { //v4.01
        var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
          d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
        if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i&lt;d.forms.length;i++) x=d.forms[i][n];
        for(i=0;!x&&d.layers&&i&lt;d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
        if(!x && d.getElementById) x=d.getElementById(n); return x;
      }

       

      function MM_nbGroup(event, grpName) { //v6.0
        var i,img,nbArr,args=MM_nbGroup.arguments;
        if (event == "init" && args.length > 2) {
          if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
            img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
            if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
            nbArr[nbArr.length] = img;
            for (i=4; i &lt; args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
              if (!img.MM_up) img.MM_up = img.src;
              img.src = img.MM_dn = args[i+1];
              nbArr[nbArr.length] = img;
          } }
        } else if (event == "over") {
          document.MM_nbOver = nbArr = new Array();
          for (i=1; i &lt; args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
            if (!img.MM_up) img.MM_up = img.src;
            img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
            nbArr[nbArr.length] = img;
          }
        } else if (event == "out" ) {
          for (i=0; i &lt; document.MM_nbOver.length; i++) {
            img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
        } else if (event == "down") {
          nbArr = document[grpName];
          if (nbArr)
            for (i=0; i &lt; nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
          document[grpName] = nbArr = new Array();
          for (i=2; i &lt; args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
            if (!img.MM_up) img.MM_up = img.src;
            img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
            nbArr[nbArr.length] = img;
        } }
      }

       

      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 &lt; reqVer){
              if (confirm(msg))
                window.location = "http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash";
            }
          }
        }
      }
      //-->
      </script>
      &lt;script src="../Scripts/AC_RunActiveContent.js" type="text/javascript">&lt;/script>
      &lt;link href="../maincss.css" rel="stylesheet" type="text/css" />
      &lt;link href="../assets/menu/menu_style.css" rel="stylesheet" type="text/css" />
      </head>
      &lt;body class="oneColElsCtrHdr" onload="MM_preloadImages('../../assets/button_click.jpg','../../assets/button_hover.jpg') ;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="container">
        <div id="header">
          &lt;div align="center">&lt;a href="../../index.html" target="_self">&lt;img src="../assets/lfgbanner.jpg" alt="Lizard's Free Games Banner" width="613" height="110" border="0" align="absmiddle" />&lt;/a>&lt;/div>
          <hr align="center" />
          <div id="menu">
            <div align="center">
              &lt;ul>
                &lt;li>&lt;a href="../../index.html" target="_self" title="Home">&lt;span>Home&lt;/span>&lt;/a>&lt;/li>
                &lt;li>&lt;a href="../../freeware.html" target="_self" title="Freeware">&lt;span>Freeware&lt;/span>&lt;/a>&lt;/li>
                &lt;li>&lt;a href="../../free_games.html" target="_self" title="Abandonware">&lt;span>Commercial Freeware&lt;/span>&lt;/a>&lt;/li>
                &lt;li>&lt;a href="../../all.html" target="_self" title="All">&lt;span>All&lt;/span>&lt;/a>&lt;/li>
                &lt;li>&lt;a href="../../faq.html" target="_self" title="FAQ">&lt;span>FAQ&lt;/span>&lt;/a>&lt;/li>
               
              &lt;/ul>
            </div>
          </div>
          <div align="center">
            <!-- end #header -->
          </div>
        </div>
        &lt;div id="mainContent">&lt;br />
          &lt;h1 align="center">Cave Story&lt;br />
          </h1>
          &lt;p class="body_text">Cave Story is arguably  the best freeware game ever. The game is a platformer like mega man, but offers  some RPG elements as well. In this game, you play as a robot that lost his memory  and finds himself fighting an evil doctor. This game has a ton of effort put  into it and it is very popular. It is so popular in fact; you can now download  it onto your Wii, since it is wiiware now. Do not miss this great game.&lt;/p>
      &lt;p class="body_text"> &lt;/p>
          &lt;table border="0" align="right" cellpadding="0" cellspacing="0">
            &lt;tr>
              &lt;td>&lt;a href="../../assets/games/cavestory.zip" target="_top" onclick="MM_nbGroup('down','group1','download','../../assets/button_click.jpg',1)" onmouseover="MM_nbGroup('over','download','../../assets/button_hover.jpg','',1)" onmouseout="MM_nbGroup('out')">&lt;img src="../assets/normal_button.jpg" alt="download button" name="download" width="233" height="55" border="0" align="right" id="download" onload="" />&lt;/a>&lt;/td>
            </tr>
          </table>
          &lt;p> &lt;/p>
          &lt;p> &lt;/p>
          &lt;p>
          &lt;/p>&lt;div class="movie">
            &lt;object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="422" height="351" id="FLVPlayer">
              &lt;param name="movie" value="FLVPlayer_Progressive.swf" />
              <param name="quality" value="high" />
              &lt;param name="wmode" value="opaque" />
              &lt;param name="scale" value="noscale" />
              <param name="salign" value="lt" />
              &lt;param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName=Halo_Skin_3&amp;streamName=../assets/movie s/Cave_Story_Trailer&amp;autoPlay=false&amp;autoRewind=true" />
              &lt;param name="swfversion" value="8,0,0,0" />
              &lt;!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
              &lt;param name="expressinstall" value="../Scripts/expressInstall.swf" />
              &lt;!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
              <!--[if !IE]>-->
              &lt;object type="application/x-shockwave-flash" data="FLVPlayer_Progressive.swf" width="422" height="351">
                <!--<![endif]-->
                &lt;param name="quality" value="high" />
                &lt;param name="wmode" value="opaque" />
                &lt;param name="scale" value="noscale" />
                <param name="salign" value="lt" />
                &lt;param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName=Halo_Skin_3&amp;streamName=../assets/movie s/Cave_Story_Trailer&amp;autoPlay=false&amp;autoRewind=true" />
                &lt;param name="swfversion" value="8,0,0,0" />
                &lt;param name="expressinstall" value="../Scripts/expressInstall.swf" />
                <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
                <div>
                  <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                  &lt;p>&lt;a href="http://www.adobe.com/go/getflashplayer">&lt;img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />&lt;/a>&lt;/p>
                </div>
                &lt;!--[if !IE]>-->
              </object>
              &lt;!--&lt;![endif]-->
            </object>
          </div>
          &lt;p>&lt;/p>
          &lt;p> &lt;/p>
          &lt;table width="100%" border="0" cellpadding="5">
            &lt;tr>
              &lt;th scope="col">&lt;a href="../../assets/gameplay/cave_story/cavestory1.gif" target="_blank">&lt;img src="../assets/gameplay/cave_story/cavestory1.gif" alt="gameplay 1" width="540" height="362" align="left" class="gameplay" />&lt;/a>&lt;/th>
              &lt;th scope="col">&lt;a href="../../assets/gameplay/cave_story/cavestory2.jpg" target="_blank">&lt;img src="../assets/gameplay/cave_story/cavestory2.jpg" alt="gameplay 2" width="440" height="330" align="right" class="gameplay" />&lt;/a>&lt;/th>
            </tr>
            &lt;tr>
              &lt;td>&lt;a href="../../assets/gameplay/cave_story/cavestory3.jpg" target="_blank">&lt;img src="../assets/gameplay/cave_story/cavestory3.jpg" alt="gameplay 3" width="595" height="325" align="left" class="gameplay" />&lt;/a>&lt;/td>
              &lt;td>&lt;a href="../../assets/gameplay/cave_story/cavestory4.jpg" target="_blank">&lt;img src="../assets/gameplay/cave_story/cavestory4.jpg" alt="gameplay 4" width="425" height="320" align="right" class="gameplay" />&lt;/a>&lt;/td>
            &lt;/tr>
          </table>
          <hr />
          &lt;table width="500" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
      &lt;tr>

       

      &lt;/tr>
      </table>
          <form id="form1" name="form1" method="post" action="">
            &lt;table width="50%" border="0" cellpadding="5">
              &lt;tr>
                &lt;th class="body_text" scope="col">Name &lt;/th>
                &lt;th scope="col">&lt;label>
                  &lt;input name="textfield" type="text" id="textfield" value="Anonymous" size="50" maxlength="45" />
                &lt;/label>&lt;/th>
              &lt;/tr>
              <tr>
                <td class="body_text">Comment </td>
                <td><label>
                  &lt;textarea name="textarea" id="textarea" cols="50" rows="5">&lt;/textarea>
                </label></td>
              &lt;/tr>
              &lt;tr>
                <td> </td>
                <td><label>
                  &lt;input name="button" type="submit" id="button" onclick="MM_popupMsg('Comment Has Been Sent To An Administrator For Approval')" value="Submit" />
                </label></td>
              &lt;/tr>
            </table>
          </form>
          &lt;p>&lt;br />
          &lt;/p>
      <div align="center">
            &lt;!-- end #mainContent -->
          </div>
        </div>
        <div id="footer">
          &lt;table width="100%" border="0" cellpadding="5">
            &lt;tr>
              &lt;th scope="col">&lt;a href="../bootfighter_windom_XP_SP-2/bootfighter_windom_XP_SP-2.html">&lt;img src="../../assets/First-icon.png" width="48" height="48" alt="first" />&lt;/a>&lt;/th>
              &lt;th scope="col">&lt;a href="../bootfighter_windom_XP_SP-2/bootfighter_windom_XP_SP-2.html">&lt;img src="../../assets/back.png" width="48" height="48" alt="back" />&lt;/a>&lt;/th>
              &lt;th scope="col">&lt;span class="style1">Freeware&lt;/span>&lt;/th>
              &lt;th scope="col">&lt;a href="../de_blob/de_blob.html">&lt;img src="../../assets/Next-icon.png" alt="last" width="48" height="48" />&lt;/a>&lt;/th>
              &lt;th scope="col">&lt;a href="../zombpocalypse/Zombpocalypse.html">&lt;img src="../../assets/Last-icon.png" width="48" height="48" alt="last" />&lt;/a>&lt;a href="../vanguard_princess/Vanguard_Princess.html">&lt;/a>&lt;/th>
            </tr>
          </table>
          &lt;p align="left"> &lt;/p>
          <div align="center">
            <!-- end #footer -->
          </div>
        </div>
        <div align="center">
          <!-- end #container -->
        </div>
      </div>
      <div align="center"> </div>
      &lt;script type="text/javascript">
      <!--
      swfobject.registerObject("FLVPlayer");
      //-->
      </script>
      </body>
      </html>