mercoledì, aprile 04, 2007

Slideshow Pro - How to display captions outside of the component

I dig Slideshow Pro! I'm always looking up how to access the captions via ActionScript, and so I link to it. Voila.

var sspListener = new Object();
sspListener.imageData = function(eventObject):Void {
caption_ta.text = eventObject.data.caption;
}
my_ssp.addEventListener("imageData", sspListener);