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

imageZone

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

Dispatched when slideshow content is rolled-over 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 the mouse hovered over. Returns "previous", "action" or "next".



"previous" is dispatched when the mouse hovers over the left side of the content area, and "next" when the mouse hovers over the right. Both of these are only broadcasted when contentAreaInteractivity is set to "Action Area and Navigation". "action" is dispatched when the mouse hovers over 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 the mouse is hovering over.

import net.slideshowpro.slideshowpro.*;
function onZoneChange(event:SSPImageEvent) {
	if (event.type=="imageZone") {
		trace(event.zone + " is hovered");
	}
}
my_ssp.addEventListener(SSPImageEvent.IMAGE_ZONE, onZoneChange);

Page last modified by tdominey on March 23, 2009, at 12:40 PM
© 2010 Dominey Design Inc. All Rights Reserved.
About | Merchandise | Contact | Privacy policy | Legal | Licensing