JavaScript error from Flash Slideshow

Discussion in 'Web Design and Development' started by notjustjay, Feb 20, 2009.

  1. notjustjay macrumors 603

    notjustjay

    Joined:
    Sep 19, 2003
    Location:
    Canada, eh?
    #1
    My turn to ask for some help from you helpful folks :D

    I installed the XML-based Flash slideshow app from FlashNifties:

    http://www.flashnifties.com/xml_slideshow.php

    Safari loads the sample slideshow on that page and plays it just fine.

    The (free version) download includes a sample slideshow and a sample HTML file. When I open that, the slideshow (the same one as on the demo page!) plays fine, but I get an error in the Activity Window that apparently came from JavaScript.

    I installed the slideshow on my website where the slides seem to play just fine but, again, this mysterious Javascript error.

    No errors in IE on Windows XP.

    Do you guys see any errors when you download and try the slideshow? Any idea what error this might be? There's nothing showing up on Safari's error console. I'm racking my brain trying to figure out what's different about running it locally or on my own server that gives me errors, while it runs fine on their own site.
     
  2. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #2
    I downloaded, unzipped and opened the slideshow.html in Firefox and got no errors. In Safari things work OK, but did notice in the Activity window there's an error mentioning "Generated by JavaScript" but that's all. The slideshow still seems to function fine. Nothing shows up in Safari's error console though. I wouldn't be worried about it. Opera had no errors either.
     
  3. notjustjay thread starter macrumors 603

    notjustjay

    Joined:
    Sep 19, 2003
    Location:
    Canada, eh?
    #3
    Thanks, angelwatt. Your experience exactly matches mine. Since the slideshow appears to work, I have no real problem leaving it as-is, except that it will bother me that "There were errors" message shows up in the status bar and Activity window. I'm planning to use this script in a number of places on my website...

    If anyone gets any insight as to how I can make this error go away (especially since it doesn't show up when you run the slideshows on their own site!), I'd sure appreciate it!

    A thought: I wonder if it's the difference between the paid version and the free one. I'll check further when I get home...
     
  4. notjustjay thread starter macrumors 603

    notjustjay

    Joined:
    Sep 19, 2003
    Location:
    Canada, eh?
    #4
    After some experimentation, I discovered that it appears to be a bug in the Flash program. If you don't specify some sort of music, it gives you the error. Specifying a zero-byte mp3 file seems to solve the problem.

    Glad to see my sanity isn't going (yet!) A simple bug in the Flash code, not my setup. Thanks guys.
     

Share This Page