4 Replies Latest reply: Mar 19, 2013 3:05 PM by Tim the Dog RSS

    DreamWeaver Flash Scripting Mystery

    Tim the Dog

      DW 6 cannot view photo galleries created with Lightroom if they have Flash content.  When a file with flash content (e.g. index.html0 is opened, the design view in DW says, "Sorry, this photo gallery requires that scripting be enabled on your web browser and that the Adobe Flash Player be installed.  Download the Adobe Flash Player".  I have enabled Java scriping in both Firefox and IE and both browsers recognize the presence of Flash. This problem does not occur when the index.html file has no Flash content.  However,  html files with Flash content can be previewed in Firefox but not in IE, where the same error message occurs.  All this is in a new Win 8 PC.  Any suggestions on solving this mystery will be much appreciated.

      Jim

        • 1. Re: DreamWeaver Flash Scripting Mystery
          sudarshan.t MVP

          This is usually read from between <noscript>...</noscript> tag in your HTML file. Do you see such a tag in your HTML file? It will usually be towards the end of your file.

           

          If you do have it and if this message shows up, it means JavaScript is disabled in your browser. That's what will trigger this message.

          • 2. Re: DreamWeaver Flash Scripting Mystery
            Tim the Dog Community Member

            Thanks for your input Sudarshan.  The script and noscript tags are present (Although I do not know how these lines got into my code.) Removing them eliminates the error message but the design view pane is still blank.  Firefox option is set to enable Java Script.  The html can be successfully previewed.  Doesn't this confirm presence of Java Script?  Here is a snippet of the code:

             

            </script>

            <noscript>

                            <!-- Provide alternate content for browsers that do not support scripting

                                 or for those that have scripting disabled. -->

                            <p>

                            Sorry, this photo gallery requires that scripting be enabled on your web browser and that the Adobe Flash Player be installed.

                            <a href="http://www.adobe.com/go/getflash/">Download the Adobe Flash Player</a>

                            </p>

            </noscript>

            • 3. Re: DreamWeaver Flash Scripting Mystery
              sudarshan.t MVP

              Go to 'Live' View in Dreamweaver. From Live View options, ensure 'Disable Javascript' is not checked.

               

              And your HTML previewing has nothing to do with JavaScript. Non-JavaScript elements will load just fine on plain HTML when JS is turned off or disabled.

               

              Screen Shot 2013-03-19 at 9.08.13 PM.png

              • 4. Re: DreamWeaver Flash Scripting Mystery
                Tim the Dog Community Member

                Thanks for your further input Thiagarajan.  Live View options 'Disable Javascript' is not checked.  The Design View pane is still blank independent of whether 'Disable Javascript' is checked or not.  I did discover that checking "live View' will fill the Design View pane with what looks like the Design View.  Are Design View and Live View the same thing?

                Also, Live View must be checked each time an .html file containing Flash is loaded; Is there a way to make Live View stay on by default?