Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Preview: SlideshowPro Module


Go to End
Reply

70 Posts   13555 Views

Avatar
bod

8 December 2009 at 10:54pm (Last edited: 9 December 2009 10:45am), Community Member, 72 Posts

Looks like you might be publishing to AS3? If so the code you need is different, see below

import net.slideshowpro.slideshowpro.*;

var my_ssp:SlideShowPro;

var paramObj:Object=LoaderInfo(this.root.loaderInfo).parameters;

for (var param in paramObj) {
   if (param=="ImagesPath") {
      my_ssp.xmlFilePath=paramObj[param];

}
}

HTH :)

Edit: Ooops missed a bit when c&p earlier, sorry half asleep, the import net.slideshowpro line..!

Avatar
MrPepperoni

20 August 2010 at 11:10am Community Member, 3 Posts

Hi UncleCheese,
Just wondering if you're aware of any known issues with this module and SilverStripe version 2.4.1.

I've had two problems:

1. The configuration tab for a SlideShowPro page is blank
2. The Slideshow doesn't open because the XML isn't coming through. If I try to open the XML link directly in the browser, I see an error page.

I've installed the latest versions of all your modules from SVN.

I have another install on version 2.3.4 that works great using the same host (GoDaddy).

Thanks!

Avatar
UncleCheese

20 August 2010 at 11:57am 4085 Posts

Hi, MrPepperoni,

What do you mean by "see an error page?"

Avatar
MrPepperoni

20 August 2010 at 1:24pm Community Member, 3 Posts

Sorry for not being more specific. When I open the XML -http://mysite.com/slideshow/xml- in the browser, the server is not returning the slideshow data. It does set the content type in the header as text/xml, but the data is just a SilverStripe error page:

Website Error
There has been an error

The website server has not been able to respond to your request.

Avatar
iroy2000

2 November 2010 at 5:21am Community Member, 15 Posts

I'm new to this module and have a hard time doing slideshow pro integration.

And reply to Blo's method ( 2nd last of the page )
http://www.silverstripe.org/all-other-modules/show/5860?start=48

I downloaded the "slideshow pro for flash 197 Trial", and after the extract, I didn't see any FLA file inside?? ( I only see extension .mxp file )

So, it will be appreciated if there is any help for this. Thanks a lot.

Avatar
yug

15 March 2011 at 1:40pm Community Member, 17 Posts

Hi Uncle Cheese

I assume you know this but you can get the standalone .swf of ssp to work by adding this to the javascript file

// SWFObject embed
var flashvars = {
      loadParams: "true",
      xmlFilePath: "$ImagesPath",
      xmlFileType: "Default",
      paramXMLPath: "/slideshow_pro/templates/param.xml", //go to wherever you want
    initialURL: escape(document.location),
    ImagesPath: "$ImagesPath",
    startAlbumID: "album-8"
}

Go to Top