16 Replies Latest reply on Jan 16, 2009 11:37 AM by mrsnak

    Flash file won't display

    mrsnak Level 1
      Bear with me, I come from the GoLive world.
      Have a site recently converted to DW. Made an update to the home page that has a Flash file in it. DW asked me if I wanted to update code to make it IE safe. Now file does not display in Mac Safari or Firefox. Haven't turned on a Windows box yet to test there.
      It displays in preview, but not live.
      http://www.starmilling.com
      Flash file should be right above the Simplicity bag area.
      Any idea what happened? DW is hard enough to figure out without having this.
      If worse comes to worse, I can always copy the GL code for that flash file back in, but was hoping to fix it without that.
        • 1. Re: Flash file won't display
          Level 7
          FF says -

          AC_FL_RunContent is not defined
          [Break on this error] AC_FL_RunContent(
          'codebase',' http://download.macromedia.com/pub/shockwave/cabs/...

          This means that the browser cannot find this file =

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

          Not surprising since the page is already at the root of the site. The link
          is broken, suggesting that your site definition is wrong. However every
          other link on the page looks right, so I am puzzled how this link got
          broken. Fix it, and make sure you upload that Scripts folder too (I get a
          not found when I browse here -
          http://www.starmilling.com/Scripts/AC_RunActiveContent.js).

          By the way, this same answer is posted 5-10 times a week 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
          ==================


          "mrsnak" <webforumsuser@macromedia.com> wrote in message
          news:gk0hdh$arh$1@forums.macromedia.com...
          > Bear with me, I come from the GoLive world.
          > Have a site recently converted to DW. Made an update to the home page that
          > has
          > a Flash file in it. DW asked me if I wanted to update code to make it IE
          > safe.
          > Now file does not display in Mac Safari or Firefox. Haven't turned on a
          > Windows
          > box yet to test there.
          > It displays in preview, but not live.
          > http://www.starmilling.com
          > Flash file should be right above the Simplicity bag area.
          > Any idea what happened? DW is hard enough to figure out without having
          > this.
          > If worse comes to worse, I can always copy the GL code for that flash file
          > back in, but was hoping to fix it without that.
          >

          • 2. Re: Flash file won't display
            mrsnak Level 1
            It appears to be what DW did to it after asking me if I wanted to make it IE safe.
            If a lot of people are having this issues, seems to me it might be a bug in DW.
            • 3. Flash file won't display
              mrsnak Level 1
              accidentally duplicated
              • 4. Re: Flash file won't display
                Level 7
                Nahh.... That's not what caused it. Try again to insert the Flash. Or try
                it on a dummy page.

                --
                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
                ==================


                "mrsnak" <webforumsuser@macromedia.com> wrote in message
                news:gk0lrf$gdq$1@forums.macromedia.com...
                > It appears to be what DW did to it after asking me if I wanted to make it
                > IE safe.
                > If a lot of people are having this issues, seems to me it might be a bug
                > in DW.

                • 5. Re: Flash file won't display
                  mrsnak Level 1
                  I deleted the flash file and then reinserted it. Displays fine local. Does not when uploaded.
                  Even odder is that there is no /Scripts/AC_RunActiveContent.js on my local machine.
                  How would that be created?
                  • 6. Re: Flash file won't display
                    Level 7


                    > I deleted the flash file and then reinserted it. Displays fine local. Does not
                    > when uploaded.
                    > Even odder is that there is no /Scripts/AC_RunActiveContent.js on my local
                    > machine.
                    > How would that be created?
                    >

                    Dreamweaver creates a Scripts folder in the root level of the local site
                    folder.

                    Is the local site folder defined to the folder that contains the "homepage"?
                    Or is it defined to a higher folder level?

                    correct way to fix is to define the site to the proper folder level.

                    quick dirty way to fix-
                    change this:
                    <script src="../Scripts/AC_RunActiveContent.js"
                    to this:
                    <script src="/Scripts/AC_RunActiveContent.js"

                    Then find the Scripts folder, and copy it to the same folder level as the
                    "homepage". Then upload it to the server.
                    --
                    Alan
                    Adobe Community Expert, dreamweaver

                    http://www.adobe.com/communities/experts/



                    • 7. Re: Flash file won't display
                      mrsnak Level 1
                      Easy solution to the problem: Cut & paste the code from my original GoLive created page.
                      Eliminated the DW-required javascript (non-existent).
                      DW code:
                      <script type="text/javascript">
                      AC_FL_RunContent( 'codebase',' http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','194','height','250','src','images-home/star-home','quality','high','pluginspage','htt p://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie', 'images-home/star-home' ); //end AC code
                      </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="194" height="250">
                      <param name="movie" value="images-home/star-home.swf" />
                      <param name="quality" value="high" />
                      <embed src="images-home/star-home.swf" quality="high" pluginspage=" http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="194" height="250"></embed>
                      </object></noscript>


                      GL code:
                      object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="250" width="174" align="right">
                      <param name="movie" value="images-home/star-home.swf">
                      <param name="quality" value="best">
                      <param name="play" value="true">
                      <embed align="right" height="250" pluginspage=" http://www.macromedia.com/go/getflashplayer" src="images-home/star-home.swf" type="application/x-shockwave-flash" width="174" quality="best" play="true">

                      </object>
                      • 8. Re: Flash file won't display
                        mrsnak Level 1
                        I found the Script folder, but am sticking with the simpler GL non-script code.
                        So why isn't DW creating a scripts folder in a place that would be invisibly uploaded with all my other files?
                        The entire file upload system baffles me anyway, sorry.

                        In GL, when I updated pages and pictures, all I needed to do was hit the upward sync button for the site and GL showed me just the pages that needed to be uploaded and one click of the button put just them up there.
                        Can DW do the same thing as easily?
                        • 9. Flash file won't display
                          mrsnak Level 1
                          duplicated
                          • 10. Re: Flash file won't display
                            Level 7
                            If you had done what you needed to do from the start, you wouldn't have to
                            do this at all. I'm just saying....

                            --
                            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
                            ==================


                            "mrsnak" <webforumsuser@macromedia.com> wrote in message
                            news:gk0tat$pvb$1@forums.macromedia.com...
                            > Easy solution to the problem: Cut & paste the code from my original GoLive
                            > created page.
                            > Eliminated the DW-required javascript (non-existent).
                            > DW code:
                            > <script type="text/javascript">
                            > AC_FL_RunContent(
                            > 'codebase',' http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
                            > version=9,0,28,0','width','194','height','250','src','images-home/star-home','qu
                            > ality','high','pluginspage',' http://www.adobe.com/shockwave/download/download.cg
                            > i?P1_Prod_Version=ShockwaveFlash','movie','images-home/star-home' ); //end
                            > AC
                            > code
                            > </script><noscript><object
                            > classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
                            > codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
                            > rsion=9,0,28,0" width="194" height="250">
                            >
                            > <param
                            > name="movie" value="images-home/star-home.swf" />
                            >
                            > <param
                            > name="quality" value="high" />
                            >
                            > <embed
                            > src="images-home/star-home.swf" quality="high"
                            > pluginspage=" http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Versio
                            > n=ShockwaveFlash" type="application/x-shockwave-flash" width="194"
                            > height="250"></embed>
                            > </object></noscript>
                            >
                            >
                            > GL code:
                            > object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
                            > codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
                            > rsion=6,0,0,0" height="250" width="174" align="right">
                            > <param name="movie" value="images-home/star-home.swf">
                            > <param name="quality" value="best">
                            > <param name="play" value="true">
                            > <embed align="right" height="250"
                            > pluginspage=" http://www.macromedia.com/go/getflashplayer"
                            > src="images-home/star-home.swf" type="application/x-shockwave-flash"
                            > width="174" quality="best" play="true">
                            >
                            > </object>
                            >
                            >

                            • 11. Re: Flash file won't display
                              mrsnak Level 1
                              Sorry Murray, so many aspects of DW are not easy to figure out. Had to take the path of least resistance this time. :-). Thankfully, I'm fairly comfortable digging through source code.
                              Any reason why DW requires generating a script and GL did not? Curious...

                              Seems to me every time I add a Flash doc to this site, DW is going to create a script folder outside the root directory (and hence, not get properly uploaded or linked unless i move it and then manually change the link).

                              How can I change this apparent default?
                              I work on all my files from my local machine and then upload them.
                              .
                              BTW, saw the more recent post about how to upload all recently modified files. Not the most elegant way to do it, but a good workaround.

                              TIA
                              • 12. Re: Flash file won't display
                                Level 7
                                > Seems to me every time I add a Flash doc to this site, DW is going to
                                > create a
                                > script folder outside the root directory (and hence, not get properly
                                > uploaded
                                > or linked unless i move it and then manually change the link).

                                This would never happen. DW never creates a site file that is not within
                                the root folder. In CS3 there is a screen alert when you insert a Flash
                                file that TELLS you explicitly you have to upload that folder. Nobody seems
                                to pay attention to it, though. CS4 uses a completely different method, so
                                you won't have to worry about that again.

                                --
                                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
                                ==================


                                "mrsnak" <webforumsuser@macromedia.com> wrote in message
                                news:gk5cmu$19m$1@forums.macromedia.com...
                                > Sorry Murray, so many aspects of DW are not easy to figure out. Had to
                                > take the
                                > path of least resistance this time. :-). Thankfully, I'm fairly
                                > comfortable
                                > digging through source code.
                                > Any reason why DW requires generating a script and GL did not? Curious...
                                >
                                > Seems to me every time I add a Flash doc to this site, DW is going to
                                > create a
                                > script folder outside the root directory (and hence, not get properly
                                > uploaded
                                > or linked unless i move it and then manually change the link).
                                >
                                > How can I change this apparent default?
                                > I work on all my files from my local machine and then upload them.
                                > .
                                > BTW, saw the more recent post about how to upload all recently modified
                                > files.
                                > Not the most elegant way to do it, but a good workaround.
                                >
                                > TIA
                                >

                                • 13. Re: Flash file won't display
                                  Level 7


                                  > Seems to me every time I add a Flash doc to this site, DW is going to create a
                                  > script folder outside the root directory (and hence, not get properly uploaded
                                  > or linked unless i move it and then manually change the link).

                                  do a google on EOLAS lawsuit over activeX objects.

                                  The javascript method dreamweaver uses means the .swf flash files are
                                  active. Without the script, a user viewing the page in windows IE6 and 7
                                  need to click twice on the flash file.

                                  Dreamweaver puts the Scripts directory in the defined root of the site.

                                  If the Scripts folder is outside of what you think is the root folder, you
                                  have the local site folder defined to the wrong folder level.

                                  Define the LOCAL SITE FOLDER to the folder that contains the site's
                                  "homepage" index file. The folder that contains it, not two folders above
                                  it.

                                  If the remote hosting requires site files to to into a subfolder such as www
                                  or public_html or htdocs or similar, put that folder name into the "host
                                  directory" line of the remote server info.

                                  --
                                  Alan
                                  Adobe Community Expert, dreamweaver

                                  http://www.adobe.com/communities/experts/



                                  • 14. Re: Flash file won't display
                                    mrsnak Level 1
                                    quote:

                                    Originally posted by: Newsgroup User

                                    The javascript method dreamweaver uses means the .swf flash files are
                                    active. Without the script, a user viewing the page in windows IE6 and 7
                                    need to click twice on the flash file.



                                    Hmm... Interesting because I have about 25 current sites, many with Flash elements, that were done with Golive, that use GL's code. No double clicking on IE 6 or 7 for any of them.


                                    • 15. Re: Flash file won't display
                                      Level 7
                                      That means you are using javascript without knowing it.

                                      --
                                      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
                                      ==================


                                      "mrsnak" <webforumsuser@macromedia.com> wrote in message
                                      news:gk66p5$606$1@forums.macromedia.com...
                                      >
                                      quote:

                                      Originally posted by: Newsgroup User
                                      >
                                      > The javascript method dreamweaver uses means the .swf flash files are
                                      > active. Without the script, a user viewing the page in windows IE6 and 7
                                      > need to click twice on the flash file.
                                      >

                                      >
                                      > Hmm... Interesting because I have about 25 current sites, many with Flash
                                      > elements, that were done with Golive, that use GL's code. No double
                                      > clicking on
                                      > IE 6 or 7 for any of them.
                                      >
                                      >
                                      >
                                      >

                                      • 16. Re: Flash file won't display
                                        mrsnak Level 1
                                        How? No script is referenced in the code.