Link to home
Start Free TrialLog in
Avatar of george82
george82

asked on

'swfobject is undefined' when duplicating 'autoviewer' gallery script directory

hi, im using autoviewer in this website:

www wavesports gr/gallery.html

we wanted to add a few languages, so in order to duplicate the gallery with each language's menus, i just copied all autoviewer files , including photos, to each directory:

www wavesports gr/greek/gallery.html
www wavesports gr/french/gallery.html
www wavesports gr/spanish/gallery.html
www wavesports gr/italian/gallery.html

The error i'm getting is that 'SWFobject' is undefined, and the error message is displayed: "AutoViewer requires JavaScript and the Flash Player. Get Flash here. "

any ideas where the problem might be?

Im using the latest swfobject.js, and each of the above directories has its own gallery.xml, viewer.swf, /images, and /thumbnails. Same as the /english directory that works fine!

any ideas what could be wrong?

HTML is identical between the files, only difference is the language.

also, wanted to mention that the line:

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

is present on all html files

the files i've downloaded come from www airtightinteractive com/ simpleviewer/ simpleviewer.zip

##

also, ALL FILES WORK LOCALLY!

exact same files, on my desktop work OK without giving me the error.
ASKER CERTIFIED SOLUTION
Avatar of David S.
David S.
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of george82
george82

ASKER

i can't believe it. i forgot to change the 'selective transfers' on my ftp client, it was set to upload html files only. many thanks for the solution