6 Replies Latest reply on Sep 20, 2007 11:12 AM by Newsgroup_User

    Template Loses Flash Content

    Hugh Anderson Level 1
      Hi,

      as a newbie, I am probably messing things up myself. But here is the problem.

      I built a site in Flash, but was advised here last weekend (by Murray?) that html was the way to go as far as getting my site indexed properly. So, off I went and started building another version of my site.

      Since I already had a Flash menu in place (can be seen here http://www.welcometoventure.com ) I wanted to retain it, and dropped the 900px by 100px swf into my html template, using separate html links at the page bottom for indexing.

      If I make ANY change to the template, even for example merging 2 small non editable cells at the bottom of the page, when I open any of the several pages generated from the template, the Flash menu has disappeared! Another flash element on the page works just fine, but the menu disappears every single time, no matter what I change in the template.

      I am completely baffled!!! Help would be wonderful.

      Thanks.

      Hugh
        • 2. Re: Template Loses Flash Content
          Level 7
          Yes, it's answered many times here on this forum.

          In the template file, make *all* links within the Flash part of the markup
          into ROOT relative links, not document relative links.

          --
          Murray --- ICQ 71997575
          Adobe Community Expert
          (If you *MUST* email me, don't LAUGH when you do so!)
          ==================
          http://www.dreamweavermx-templates.com - Template Triage!
          http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
          http://www.dwfaq.com - DW FAQs, Tutorials & Resources
          http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
          ==================


          "Hugh Anderson" <webforumsuser@macromedia.com> wrote in message
          news:fcss7t$a64$1@forums.macromedia.com...
          > anyone?


          • 3. Re: Template Loses Flash Content
            Hugh Anderson Level 1
            Thanks Murray - I am assuming that to achieve this I would select the Flash file, click the folder to browse to the source, then click Site Root within the dialog box? (sorry, new at this)

            On another template issue, I just set up the testing server in OSX, and the html documents can be viewed in the browser, no problem whatsoever, but the two template files I have created appear as code only, as they would in Code view. Confused more and more!

            I appreciate you taking the time on my issues.

            Hugh
            • 4. Re: Template Loses Flash Content
              Level 7
              > Thanks Murray - I am assuming that to achieve this I would select the
              > Flash
              > file, click the folder to browse to the source, then click Site Root
              > within
              > the dialog box? (sorry, new at this)

              Yes, if you are referring to the "Link Relative to:" field. If not, just
              manually edit the code in and around the flash element to change all
              references to the name of the Flash file from "whatever.swf" to
              "/whatever.swf", or from "whatever" to "/whatever".

              > On another template issue, I just set up the testing server in OSX, and
              > the
              > html documents can be viewed in the browser, no problem whatsoever, but
              > the two
              > template files I have created appear as code only, as they would in Code
              > view.
              > Confused more and more!

              If you are building only a static page site, you do not need a testing
              server. By virtue of defining one for your static pages, what's happening
              is that DW is handing the DWT file to the webserver, which has no idea what
              to do with it, and is therefore handing the text of the file to the browser.


              --
              Murray --- ICQ 71997575
              Adobe Community Expert
              (If you *MUST* email me, don't LAUGH when you do so!)
              ==================
              http://www.dreamweavermx-templates.com - Template Triage!
              http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
              http://www.dwfaq.com - DW FAQs, Tutorials & Resources
              http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
              ==================


              "Hugh Anderson" <webforumsuser@macromedia.com> wrote in message
              news:fcu3od$p7e$1@forums.macromedia.com...
              > Thanks Murray - I am assuming that to achieve this I would select the
              > Flash
              > file, click the folder to browse to the source, then click Site Root
              > within
              > the dialog box? (sorry, new at this)
              >
              > On another template issue, I just set up the testing server in OSX, and
              > the
              > html documents can be viewed in the browser, no problem whatsoever, but
              > the two
              > template files I have created appear as code only, as they would in Code
              > view.
              > Confused more and more!
              >
              > I appreciate you taking the time on my issues.
              >
              > Hugh
              >


              • 5. Re: Template Loses Flash Content
                Hugh Anderson Level 1
                Murray,

                thank you so much - you have been most helpful.

                Hugh

                • 6. Re: Template Loses Flash Content
                  Level 7
                  You're welcome, Hugh.

                  --
                  Murray --- ICQ 71997575
                  Adobe Community Expert
                  (If you *MUST* email me, don't LAUGH when you do so!)
                  ==================
                  http://www.dreamweavermx-templates.com - Template Triage!
                  http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                  http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                  http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
                  ==================


                  "Hugh Anderson" <webforumsuser@macromedia.com> wrote in message
                  news:fcu98t$255$1@forums.macromedia.com...
                  > Murray,
                  >
                  > thank you so much - you have been most helpful.
                  >
                  > Hugh
                  >
                  >