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

imageFormat

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

Dispatched when slideshow content is resized.

Properties

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.
wThe formatted width of the slideshow content.
hThe formatted height of the slideshow content.
woThe original width of the slideshow content.
hoThe original height of the slideshow content.
xThe current x position of the slideshow content.
yThe current y position of the slideshow content.


Examples

The following traces the formatted width/height of the slideshow content.

import net.slideshowpro.slideshowpro.*;
function onImageFormatEvent(event:SSPImageFormatEvent) {
	if (event.type=="imageFormat") {
	   trace(event.w + " " + event.h);
	}
} 
my_ssp.addEventListener(SSPImageFormatEvent.IMAGE_FORMAT, onImageFormatEvent);

Page last modified by tdominey on June 01, 2009, at 06:41 AM
© 2010 Dominey Design Inc. All Rights Reserved.
About | Merchandise | Contact | Privacy policy | Legal | Licensing