« 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

Page last modified by tdominey on November 07, 2008, at 11:12 AM

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.
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);


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