Dynamically load _gallery_ (not album) in SlideShowPro using SWFObject

Posted by bccarlso on Stack Overflow See other posts from Stack Overflow or by bccarlso
Published on 2010-04-30T06:47:36Z Indexed on 2010/05/06 5:38 UTC
Read the original article Hit count: 225

Hi all. 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!

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about flash