
Event Object Type: net.slideshowpro.slideshowpro.SSPImageFormatEvent
SSPImageFormatEvent.type property = net.slideshowpro.slideshowpro.SSPImageFormatEvent.IMAGE_ALIGN
Language Version: ActionScript 3.0
Player Version: Flash Player 9.0.0.0
Dispatched when slideshow content is aligned.
| 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 x and y position of the aligned content.
import net.slideshowpro.slideshowpro.*;
function onImageAlignEvent(event:SSPImageFormatEvent) {
trace(event.x + " " + event.y);
}
my_ssp.addEventListener(SSPImageFormatEvent.IMAGE_ALIGN, onImageAlignEvent);
