Insert Photoshop Web Gallery swf file into Dreamweaver - Macromedia Dreamweaver

This is a discussion on Insert Photoshop Web Gallery swf file into Dreamweaver - Macromedia Dreamweaver ; So i tried to take a shortcut, and created a flash photoshop web gallery and placed the "gallery.swf" file into my html file in Dreamweaver. However, it is showing a blank white screen (i'm guessing it can't find the images?) ...

+ Reply to Thread
Results 1 to 5 of 5

Insert Photoshop Web Gallery swf file into Dreamweaver

  1. Default Insert Photoshop Web Gallery swf file into Dreamweaver

    So i tried to take a shortcut, and created a flash photoshop web gallery and
    placed the "gallery.swf" file into my html file in Dreamweaver. However, it is
    showing a blank white screen (i'm guessing it can't find the images?) but when
    I view it on my hard drive, it is working fine, just not in dreamweaver or any
    browser, even after I upload to my server. Any help would be GREATLY
    appreciated!! I've also tried pasting the body html code from "index.htm" that
    photoshop creates, as well as move my image files to the root folder where the
    swf is, but that doesn't work either. I have my scripts in the same directory,
    and not in subfolders.


  2. Default Re: Insert Photoshop Web Gallery swf file into Dreamweaver

    Kizat727 posted in macromedia.dreamweaver:

    > So i tried to take a shortcut, and created a flash photoshop web
    > gallery and placed the "gallery.swf" file into my html file in
    > Dreamweaver. However, it is showing a blank white screen (i'm
    > guessing it can't find the images?) but when I view it on my hard
    > drive, it is working fine, just not in dreamweaver or any browser,
    > even after I upload to my server. Any help would be GREATLY
    > appreciated!!


    Do your server error logs reveal any useful information such as 404
    errors?

    Do you have a link we can see?


    --
    Mark A. Boyd
    Keep-On-Learnin'

  3. Default Re: Insert Photoshop Web Gallery swf file intoDreamweaver

    It is not showing any 404 errors that I can see. The page is coming up, just
    not showing the .swf file. It is acting like it isn't even on my page. However,
    when I preview in a browser while in Dreamweaver, a big white blank screen
    shows. I'll attached the "index.htm" file that photoshop created. I also have a
    couple xml files and js files, just let me know what you need to see to help me
    solve the issue. Thanks so much!

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "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=utf-8" />

    <title>Dyer's Cabinet Shop Photo Gallery</title>

    <!-- FlashObject embed by Geoff Stearns geoff@choppingblock.com
    http://choppingblock.com/ -->

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



    <script type="text/javascript">



    window.onload = function() {

    if ((window.document.getElementById) &&
    (window.document.getElementById('gallery').focus)) {

    window.document.getElementById('gallery').focus();

    }

    }



    </script>



    <style type="text/css">

    /* hide from ie5 mac \*/

    html {

    height: 100%;

    overflow: hidden;

    }



    #flashcontent {

    height: 100%;

    }

    /* end hide */



    body {

    height: 100%;

    margin: 0;

    padding: 0;

    background-color: #ffffff;

    }



    </style>



    </head>

    <body>



    <div style="display:none">

    <div>%FLASH%</div>



    <div>Dyer's Cabinet Shop Photo Gallery</div>

    <div></div>

    <div></div>

    <div></div>

    <div></div>



    <div>#F0F0F0</div>

    <div>#000000</div>

    <div>#000000</div>

    <div>#0000FF</div>

    <div>#800080</div>

    <div>#FF0000</div>



    <div>.jpg</div>

    <div></div>

    <div></div>

    <div></div>

    <div></div>

    </div>



    <div id="flashcontent">

    <script type="text/javascript">

    // <![CDATA[



    var myFlashObject = new FlashObject("gallery.swf", "gallery", "100%",
    "100%", 6, "#ffffff");

    myFlashObject.addParam("scale", "noscale");

    myFlashObject.addVariable("request", getQueryParamValue("image"));

    myFlashObject.addVariable("photosXmlFile", "photos.xml");

    myFlashObject.addVariable("configXmlFile", "galleryconfig.xml");

    myFlashObject.write();



    // ]]>

    </script>



    <noscript>

    You must enable Javascript to view this content.

    </noscript>

    </div>



    </body>

    </html>


  4. Default Re: Insert Photoshop Web Gallery swf file intoDreamweaver

    and the link is

    www.micromediapubs2.com/dyers/portfolio.html

    (site is not completed)

  5. Default Re: Insert Photoshop Web Gallery swf file into Dreamweaver

    Kizat727 posted in macromedia.dreamweaver:

    > and the link is
    >
    > www.micromediapubs2.com/dyers/portfolio.html


    That page is very different from the code you posted and I know nothing
    about Geoff Stearns' FlashObject code.

    For the above link, I see nothing in the source code that attempts to
    load a .swf file. However, it is linking to AC_RunActiveCon.js file in
    the wrong place:

    ----------------------------------------------------------
    GET /dyers/assets/flash/pages/AC_RunActiveContent.js HTTP/1.1
    Referer: http://www.micromediapubs2.com/dyers/portfolio.html
    HTTP/1.x 404 Not Found
    ----------------------------------------------------------

    The file is actually here:
    /dyers/Scripts/AC_RunActiveContent.js

    So if you actually do have a page in the dyers/ folder that links to a
    ..swf file, just make sure the link to the .js file is correct.

    Most likely, change this:

    <script src="assets/flash/pages/AC_RunActiveContent.js"
    type="text/javascript"></script>

    to this:

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


    --
    Mark A. Boyd
    Keep-On-Learnin'

+ Reply to Thread