Visit SlideShowPro.net  Community Forums
SlideShowPro Help Wiki
  

Products

SlideShowPro for Flash

SlideShowPro for Lightroom

SlideShowPro Standalone

SlideShowPro Director

SlideShowPro Director Hosting

ThumbGrid

Additional support

  1. Community forums
  2. Email support staff

Company

  1. Products
  2. About SlideShowPro
  3. News
  4. Follow SlideShowPro on Twitter

SlideShowPro for Flash

imageClick

Event Object Type: net.slideshowpro.slideshowpro.SSPImageEvent
SSPImageEvent.type property = net.slideshowpro.slideshowpro.SSPImageEvent.IMAGE_CLICK
Language Version: ActionScript 3.0
Player Version: Flash Player 9.0.0.0

Dispatched when slideshow content is clicked by the viewer's mouse.

Properties

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.
numThe numerical order of the content.
zoneThe area within the content area that was clicked. Returns "previous", "action" or "next".



"previous" is dispatched when the mouse clicks on the left side of the content area, and "next" when the mouse clicks on the right. Both of these are only broadcasted when contentAreaInteractivity is set to "Action Area and Navigation". "action" is dispatched when the mouse clicks the center area, and is broadcasted in both "Action Area and Navigation" and "Action Area Only" settings for contentAreaInteractivity.

Example

The following example traces which area was clicked.

import net.slideshowpro.slideshowpro.*;
function onSlideShowClick(event:SSPImageEvent) {
	if (event.type=="imageClick") {
		trace(event.zone + " was clicked");
	}
}
my_ssp.addEventListener(SSPImageEvent.IMAGE_CLICK, onSlideShowClick);

Page last modified by tdominey on March 10, 2009, at 07:25 AM
© 2010 Dominey Design Inc. All Rights Reserved.
About | Merchandise | Contact | Privacy policy | Legal | Licensing