Topic: Complicated - Setting a web location per image.
Hello everybody!
This is complicated. Any help would be greatly appreciated.
So in the gallery.xml file we usually have something like this.
<IMAGE>
<filename>XE0K9968.jpg</filename>
</IMAGE>
What I'd like to do is something like this.
<IMAGE>
<filename>http://www.artbyphil.com/phfx/photography/temp_july06lup/images/XE0K9968.jpg</filename>
</IMAGE>
So I think in the XMLManager.as file I want to do something that searches the individual file name for "http:". If that exists change the imagePath and thumbPath to the specified URL. This allows cross gallery linking without uploading a bunch of the same images.
I know how to do it in perl. Something like this.
if ($line =~ /http:/) {
$imagelocation = "$line";
}
But I'd like to do it all in a nice clean flash friendly way.
Any ideas?
Also, if possible is there a way to alter the SVP to look for imageData.xml as opposed to gallery.xml? I haven't found that in my digging around yet. I have scripts that auto generate galleries and I don't want to rewrite the entire world.
Thanks!
Phil