Welcome to TalkGraphics.com
Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25

Thread: Viewing Flash

  1. #21
    Join Date
    Mar 2009
    Posts
    4,503

    Default Re: Viewing Flash

    I think we're getting there, because the player and the .js file load, but now it says: "Gallery not found". And that refers to the .xml file that's part the viewer and that lists the photos to be used. You find some more code in the bottom of your desk drawer enabling the .xml file?
    IP

  2. #22
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: Viewing Flash

    Try this one.

    <div id="flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
    <script type="text/javascript" src="index_htm_files/swfobject.js"></script>
    <script type="text/javascript">
    var fo = new SWFObject("index_htm_files/viewer.swf", "viewer", "100%", "100%", "8", "#181818");
    fo.addVariable("xmlDataPath", "index_htm_files/gallery.xml");
    fo.write("flashcontent");
    </script>
    John.
    IP

  3. #23
    Join Date
    Mar 2009
    Posts
    4,503

    Default Re: Viewing Flash

    Almost, John. The viewer works but now instead of the pictures, I only get to see a big X for the big photo and small Xs for the thumbnails. The thumbnails are clickable, but show nothing but the big X. Would this have to do with the fact that the pictures and thumbnails are in seperate folders ("images" and "thumbs")?
    IP

  4. #24
    Join Date
    Feb 2009
    Location
    Upstate NY, USA
    Posts
    373

    Default Re: Viewing Flash

    The .xml file can be read with any text editor, you can look to see where it's thinking the pictures are.
    "You can't be a real country unless you have a beer and an airline - it helps if you have some kind of a football team, or some nuclear weapons, but at the very least you need a beer." -- Frank Zappa
    Visit Spinland Studios: http://www.spinlandstudios.com
    IP

  5. #25
    Join Date
    Mar 2009
    Posts
    4,503

    Thumbs up Re: Viewing Flash

    Quote Originally Posted by Spinny View Post
    The .xml file can be read with any text editor, you can look to see where it's thinking the pictures are.
    Thanks for your suggestion, Spinny. It still took me a while to figure out (adding a "/" at the end of the pathname), but with the help of XML Notepad I changed the pathnames very easily.

    And also thanks to John (covoxer) for coming up with the placeholder code.
    IP

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •