I am using SSP to load SWFs which in turn load XML data, so I would like to use the caption property in SSP’s XML file to index the instances on the SWF XML feeds
in layman’s terms… I need to make “event.data.caption;” into a global variable for the loaded SWF’s to read it:
import net.slideshowpro.slideshowpro.*;
function onImageData(event:SSPDataEvent) {
if (event.type==“imageData”) {
trace(event.data.caption;)
}
}
my_ssp.addEventListener(SSPDataEvent.IMAGE_DATA, onImageData);
I am not using classes, so I cannot follow http://www.greenethumb.com/article/11/global-variables-in-as3
thanks,
Ian