5 Replies Latest reply on Aug 20, 2007 8:45 AM by wrightj999@hotmail.com

    HELP! I've been waiting for days.

    wrightj999@hotmail.com
      So I built a banner type of animation in Flash and I published an swf and an html version. I found that the html version had a significantly smaller file size, thus my decision to opt for the use of that file. So I could not find a way to insert it in the design view, so I decided to try entering the source code (in the code view). When I do this and then publish preview in a web browser everything looks just the way I want it too, but the problem is that when I go back to the design view all that is visible is the placeholder for the object that I inserted. I will paste the code that I'm using for the object below, someone please let me know what I am doing wrong, if there is a better way to do this, or if there is simply a piece of code that I must change. " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns=" http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
      <title>filmstrip_dreamweaversite</title>
      </head>
      <body bgcolor="#ffffff">
      <!--url's used in the movie-->
      <!--text used in the movie-->
      <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=" http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="1449" height="68" id="filmstrip_dreamweaversite" align="middle">
      <param name="allowScriptAccess" value="sameDomain" />
      <param name="movie" value="filmstrip_dreamweaversite.swf" />
      <param name="quality" value="high" />
      <param name="bgcolor" value="#ffffff" />
      <embed src="filmstrip_dreamweaversite.swf" quality="high" bgcolor="#ffffff" width="1449" height="68" name="filmstrip_dreamweaversite" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage=" http://www.macromedia.com/go/getflashplayer" />
      </object>
      </body>
      </html>

      Your help will be greatly appreciated!
        • 1. Re: inputting html code from flash to dreamweaver
          wrightj999@hotmail.com Level 1
          for further clarification I've included the code in context with the rest of the code for that page minus most of what comes after the relevant coding: (I put a bunch of exclamation points at the beginning and end of the same code I put in the last message, not to mention that in the last message I accidentally added the first two lines of code, so what you see below is what I was truly working with)
          <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
          " http://www.w3.org/TR/html4/loose.dtd">
          <html>
          <!-- DW6 -->
          <head>
          <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
          <title>Untitled Document</title>
          <link rel="stylesheet" href="2col_rightNav.css" type="text/css">
          <style type="text/css">
          <!--
          .style1 {font-size: xx-large}
          .style4 {font-size: 36px}
          .style6 {font-size: 20px}
          .style16 {color: #334d55}
          .style17 {color: #FFFFFF}
          .style18 {color: #0000FF}
          .style20 {color: #000000}
          .style21 {color: #000000; font-size: 18pt; }
          .style22 {color: #E8E8E8}
          .style24 {
          color: #006699;
          font-weight: bold;
          }
          .style28 {font-size: 15px}
          .style30 {color: #cccccc}
          .style31 {color: #000000; font-size: 15px; }
          .style32 {color: #000000; font-size: 10pt; }
          .style33 {color: #CCCCCC}
          .style34 {color: #FFFFFF; font-size: 9px; }
          -->
          </style>
          <script language="JavaScript" type="text/JavaScript">
          <!--
          function MM_reloadPage(init) { //reloads the window if Nav4 resized
          if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
          document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
          else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
          }
          MM_reloadPage(true);
          //-->
          </script>
          </head>
          <!-- The structure of this file is exactly the same as 2col_leftNav.html;
          the only difference between the two is the stylesheet they use -->
          <body>
          <div id="masthead">
          !!!!!!!!!!!!!!!!!!<h1 class="style1" id="siteName">  </h1>
          <div id="Layer1" class="style34" style="position:absolute; width:1469px; height:70px; z-index:5; left: -4px; top: 2px;">
          <html xmlns=" http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
          <head>
          <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
          <title>filmstrip_dreamweaversite</title>
          </head>
          <body bgcolor="#ffffff">
          <!--url's used in the movie-->
          <!--text used in the movie-->
          <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=" http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="1449" height="68" id="filmstrip_dreamweaversite" align="middle">
          <param name="allowScriptAccess" value="sameDomain" />
          <param name="movie" value="filmstrip_dreamweaversite.swf" />
          <param name="quality" value="high" />
          <param name="bgcolor" value="#ffffff" />
          <embed src="filmstrip_dreamweaversite.swf" quality="high" bgcolor="#ffffff" width="1449" height="68" name="filmstrip_dreamweaversite" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage=" http://www.macromedia.com/go/getflashplayer" />
          </object>
          </body>
          </html>
          !!!!!!!!!!!!!!!!!
          </div>
          <h1><span class="style34"> _</span></h1>
          <h1><span class="style1"><span class="style1"><span class="style4"> <span class="style34">_</span></span></span></span></h1>
          <h1><span class="style1"><span class="style1"><span class="style4"><span class="style34">_</span>Wright</span> <span class="style6">Freelance Video and Graphic Editing.com</span></span></span></h1>
          <div id="contact1" style="position:absolute; width:707px; height:33px; z-index:4; left: 10px; top: 838px;">
          <p class="style21">Wright Freelance Video and Graphic Editing.com</p>

          • 2. Re: inputting html code from flash to dreamweaver
            wrightj999@hotmail.com Level 1
            Is there anyone that can offer me advice?
            • 3. HELP! I've been waiting for days.
              >Vee< Level 1
              Does the banner look and function when viewed through a browser window? Did you check if the flash ver. had the same issue?
              • 4. Re: inputting html code from flash to dreamweaver
                BurritoVictim
                Wright, did you figure this out?

                I read your initial posting and you mentioned Flash published a SWF and an HTML version. Here's the deal - the SWF is the actual Flash movie, whereas the HTML file is just a page produced by Flash containing the code to display the SWF file. You could then FTP your SWF and HTML page to a web server and see the Flash movie by browsing the HTML page. You don't choose between either one, they're not the same thing. Does this make sense?

                To insert the Flash object in Dreamweaver, place your cursor where you want your Flash movie displayed, click on the menu above INSERT > MEDIA > Flash and select your SWF file (which you should have placed somewhere in your site directory).

                Once you do that, yes, you will see a gray placeholder that represents the Flash movie you just inserted. To play it, select the placeholder in design view and the properties panel below will show you all the options, including PLAY. Press the PLAY button to play the movie.

                When you're ready, upload the page you created, along with the SWF, to your server and you should be good to go.

                John
                • 5. Re: HELP! I've been waiting for days.
                  wrightj999@hotmail.com Level 1
                  Wow, thank you so much for such a thorough and helpful answer, you are awesome!