
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.
| Property | Value |
|---|---|
| bubbles | false |
| cancelable | false; there is no default behavior to cancel. |
| w | The formatted width of the slideshow content. |
| h | The formatted height of the slideshow content. |
| x | The current x position of the slideshow content. |
| y | The current y position of the slideshow content. |
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);

