I have been successful in dynamically loading an album in SSP before, but using SSP Standalone. I did it like this:
var flashvars = {
xmlFilePath: "http://site.com/ssp_director/images.php?album=5"
}
What I’m looking to do now, though, is dynamically load a gallery when the page loads, using text entered in the javascript, or flashvars I’d assume. I’m using ActionScript 3 with this, so I’m not sure if I have to do something to the SSP instance in Flash. I’m not very good with AS3, so following advice or tutorials is about all I can muster. I’m also using SSP Director, so my gallery XML URLs would be similar to above in the example code.
I’d be elated if this is possible, otherwise I will have to find an alternative solution. Thanks so much for help!
This is what I ended up doing to get it to work:
Using this article only to edit my fla/swf file: http://wiki.slideshowpro.net/SSPfl/C-DynamicallyAssignXML
And then putting this in my SWFObject code: