« Back to slideshowpro.net
SlideShowPro Help Wiki
Recent changes / Search

SlideShowPro for Flash

SlideShowPro for Lightroom

SlideShowPro Director

SlideShowPro Director Hosting

SlideShowPro ThumbGrid

Extras

Screencasts

SlideShowPro for Flash
toggleDisplayMode()
Page last modified by tdominey on October 08, 2008, at 02:50 PM

Usage

slideShowProInstance.toggleDisplayMode(mode);

Parameters

mode:String [optional] - A string containing the requested mode change. Values include "Auto" (for auto-playback) and "Manual" (to stop).

Returns

Nothing.

Description

Method; toggles the auto/manual playback of SlideShowPro. May be used to stop and start automatic playback of a slideshow when assigned to a button. When requested without parameters, it acts as a toggle between playback modes.

Example

This example assigns toggleDisplayMode to the onRelease method of a movie clip with an instance name of "play_bttn":

play_bttn.onRelease = function() {
   my_ssp.toggleDisplayMode();
}

This example instructs SlideShowPro for Flash to start auto-playback (if not in "Auto" already):

play_bttn.onRelease = function() {
   my_ssp.toggleDisplayMode("Auto");
}


© 2008 Dominey Design Inc. All Rights Reserved.
About | Contact | Privacy policy | License agreements