I recently made a real estate site for a client that uses EE, SlideShowPro, and Director. I chose to go with Director because it’s do darn easy for the client to upload a bunch of pictures and drag and drop in the order they want.
Save yourself a headache, and use swfobject (http://blog.deconcept.com/swfobject/) to embed the flash file.
Here’s how I’m doing it.
In Director:
They make an album for each property. They upload their images.
They make a note of the album ID, and they enter that in the publish form.
I need the album ID, in order to generate the right xml file, so I’m having swfobject call that as a variable.
In the Flash movie, I gave SSP an instance name of “myssp”. One line of actionscript in a separate layer at frame 1:
my_ssp.xmlFilePath=xmlfile;
In the component inspector, leave the xml file path blank. Be sure to specify that the XML File Type is Director.
In the <head></head> of the template, include the link to swobject.js, like so:
Then, where you want your movie to display:
<div id=“flash”> This text is replaced by the Flash movie.</div>
var so = new SWFObject(”/slide.swf”, “mymovie”, “550”, “470”, “7”, “#ffffff”);
so.addVariable(“xmlfile”, “/ssp_director/images.php?album={album}”);
so.write(“flash”);
That’s it! If your movie isn’t displaying at all, it’s probably something with the paths calling the swf and/or the xml file.
(If you don’t need to call specific albums, you don’t need the actionscript, and you stick the URL that Director generates into the xml file path.)
Hope this is helpful.