Topic: Defaulting to the last image
Hi, I'm trying to get Autoviewer to start with the lastest image added to the xml array.
I found that the first image to be displayed is defined in the stagemanager.as init function variable "mCurrentImageIndex". The value defined is "0" in the original script.
I tried to trace the lenght of the image array within the init function, but to no avail. If I could get the lenght of the array, I could define "mCurrentImageIndex" as the lenght of the array to default to the last image when the viewer starts.
How could this be done?