3 Replies Latest reply on Jan 4, 2009 4:43 AM by Newsgroup_User

    Can't get SWF to display on DW CS4 generated page

    dv8kiwi Level 1
      I can't get a simple SWF to display on a page created in DW CS4. It uses the new swfobject_modified.js, but generates a script error, and in Firefox shows the message "Content on this page requires a newer version of Adobe Flash Player" even though the player is completely up to date.

      It works OK on a static site with default file paths:
      www.askew.co.nz (SWF is a red ellipse withmirrored "S" on left)

      But I still can't get it to work on CMS site, even though I have checked the paths to swfobject_modified.js and the flash object are valid in the source code. The problem page (CMS site) is here:
      http://askew-site.fjstaging01.pbstaging.com/

      The error is:
      <!--
      swfobject.registerObject("FlashID");
      //-->
      (line 144 Uncaught ReferenceError: swfobject is not defined)
        • 1. Re: Can't get SWF to display on DW CS4 generated page
          Level 7
          This is curious - are you sure you need it?

          # Info Line 3, Column 10: ID "head" first defined here.

          <head id="head"><title>

          Anyhow, your links all appear wrong -

          <param name="movie" value="../../images/bigS.swf" />
          ...
          <param name="expressinstall" value="../../images/expressInstall.swf"
          />
          ...
          <object type="application/x-shockwave-flash"
          data="../../images/bigS.swf" width="90" height="330">
          ...
          <param name="expressinstall"
          value="../../images/expressInstall.swf" />

          The page itself is at the root -

          http://askew-site.fjstaging01.pbstaging.com/

          There is no "go up two folder levels". Nor is the "S" swf at this
          location -
          http://askew-site.fjstaging01.pbstaging.com/images/bigS.swf

          So - it appears that something is out of kilter here.

          --
          Murray --- ICQ 71997575
          Adobe Community Expert
          (If you *MUST* email me, don't LAUGH when you do so!)
          ==================
          http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
          http://www.dwfaq.com - DW FAQs, Tutorials & Resources
          ==================


          "dv8kiwi" <webforumsuser@macromedia.com> wrote in message
          news:gjm648$7ch$1@forums.macromedia.com...
          >I can't get a simple SWF to display on a page created in DW CS4. It uses
          >the
          > new swfobject_modified.js, but generates a script error, and in Firefox
          > shows
          > the message "Content on this page requires a newer version of Adobe Flash
          > Player" even though the player is completely up to date.
          >
          > It works OK on a static site with default file paths:
          > www.askew.co.nz (SWF is a red ellipse withmirrored "S" on left)
          >
          > But I still can't get it to work on CMS site, even though I have checked
          > the
          > paths to swfobject_modified.js and the flash object are valid in the
          > source
          > code. The problem page (CMS site) is here:
          > http://askew-site.fjstaging01.pbstaging.com/
          >
          > The error is:
          > <!--
          > swfobject.registerObject("FlashID");
          > //-->
          > (line 144 Uncaught ReferenceError: swfobject is not defined)
          >

          • 2. Re: Can't get SWF to display on DW CS4 generated page
            dv8kiwi Level 1
            Thanks very much Murray, I'm afraid the obvious escaped my attention. Using relative links is a bad idea in this CMS. And thanks so much for the bad ID-naming tip.

            Not absolutely necessary, perhaps, but I felt it would be the best way to do the graphic with the transparent reflection. It would get more browsers than a PNG I think.

            Thanks again.
            • 3. Re: Can't get SWF to display on DW CS4 generated page
              Level 7
              > Not absolutely necessary, perhaps, but I felt it would be the best way to
              > do
              > the graphic with the transparent reflection. It would get more browsers
              > than a
              > PNG I think.

              You can fix IE to manage PNG transparency just fine, you know? A bit of
              javascript in the head of the page, and you are laughing....

              --
              Murray --- ICQ 71997575
              Adobe Community Expert
              (If you *MUST* email me, don't LAUGH when you do so!)
              ==================
              http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
              http://www.dwfaq.com - DW FAQs, Tutorials & Resources
              ==================


              "dv8kiwi" <webforumsuser@macromedia.com> wrote in message
              news:gjof7e$940$1@forums.macromedia.com...
              > Thanks very much Murray, I'm afraid the obvious escaped my attention.
              > Using
              > relative links is a bad idea in this CMS. And thanks so much for the bad
              > ID-naming tip.
              >
              > Not absolutely necessary, perhaps, but I felt it would be the best way to
              > do
              > the graphic with the transparent reflection. It would get more browsers
              > than a
              > PNG I think.
              >
              > Thanks again.
              >