These forums are provided for community interactions only. For official support please submit a support ticket.

You are not logged in.

#1 2010-10-21 17:35:14

000justin000
New Member
Registered: 2010-09-15
Posts: 12

JavaScript Methods: Need MORE Documentation!

I'm having a lot of problems getting the JavaScript methods to work. I've purchased the standalone player and am using it without Director. While playing around with the "JavaScript - Methods" example (js_methods.html) I've found that all of the custom buttons at the bottom of the page, except for the button "Load Image 5", return this error: "ssp is not defined."

I really would like to see some JavaScript documentation on how to use these methods. It's strange that only the "Load Image 5" button would work. Here is the code for that button and another button that returns an error:
"...   <a href="#" onclick="ssp.loadAlbum('ssp2',0);">Load Album 2</a><!-- returns error -->
    <a href="#" onclick="sspd.loadContent(4);">Load Image 5</a>   ..."

I've found that the js_methods.html page within the trial version free download works better. In that example more of the methods work, and the ones that don't return this error: "uncaught exception: Error in Actionscript. Use a try/catch block to find error."

I still need to get the "loadAlbum()" method working. Could somebody please provide some documentation on how to get it to work? I've tried using it as the example provided (i.e. loadAlbum('ssp2',0);) and I get an error. If I try to change the arguments (i.e. loadAlbum('0',0);) I still get an error.

Here is the function: "...  function loadAlbum(album,num) { thisMovie("ssp").loadAlbum(album,num); }  ..."

Please help.

Last edited by 000justin000 (2010-10-21 17:35:30)

Offline

 

#2 2010-10-21 18:06:31

000justin000
New Member
Registered: 2010-09-15
Posts: 12

Re: JavaScript Methods: Need MORE Documentation!

By searching through the forums I found that the loadAlbum() method requires the album ID as it's first argument. The way the demo is set up is misleading.

Here is a topic that provides more information on it:
http://forums.slideshowpro.net/viewtopic.php?id=23984

When can we expect some documentation on the JavaScript methods?

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson