Topic: embedding in flash cs4

I'm trying to embed a simpleviewer gallery into a flash website that I'm working on. It works well the first time that page of the website loads but if I navigate away from it and then back again the images wont load anymore. The thumbs start to load and then get stuck halfway. This is the code I used to embed the gallery:

var l = new Loader();

l.load(new URLRequest("./gallery/viewer.swf"));



I've had to put all the simpleviewer files in the main folder of the website to get the gallery to open. This means there was already a swfobject.js in this folder and so I couldn't copy the one for simpleviewer there. I tried to putting the simpleviewer files in a separate folder within the main folder but when I tried to load the page it said "Gallery not found"

What am I doing wrong? Is there any way to fix this?

Re: embedding in flash cs4

Embedding in a flash movie requires SimpleViewer-Pro.

Felix Turner
SimpleViewer Support Team.