nickg331 Posted November 6, 2007 Share Posted November 6, 2007 ok, so here's the scenario: I need a flash gallery that will show a main photo, and several thumbnails underneath it. This is simple enough, but here's the catch: I need it to load all the photos from the directory the SWF is in; in other words, there can be no hardcoding of filenames. So, for example, I've got a folder full of photos. I stick the SWF in it, launch it, and I've got a gallery (it loads the photos in its directory automatically). Any ideas would be greatly appreciated. Link to comment https://www.insanelymac.com/forum/topic/70006-flash-gallery-question/ Share on other sites More sharing options...
inimicus Posted November 6, 2007 Share Posted November 6, 2007 Is there a reason for using Flash? Are other technologies an option, such as PHP? Link to comment https://www.insanelymac.com/forum/topic/70006-flash-gallery-question/#findComment-496772 Share on other sites More sharing options...
nickg331 Posted November 7, 2007 Author Share Posted November 7, 2007 yes, the site is based around php. but i need the creation of slideshows to be fully automatic. it's a newspaper website, so i want it to be that when an editor uploads photos for an article, it creates a new folder with those photos and a copy of the swf, then puts a container with the swf in the article page. the last part is easy, as is making the new folder with the photos and swf, but its' the creation of the swf itself that is difficult for me. i'm open to other options as well, however. javascript? Link to comment https://www.insanelymac.com/forum/topic/70006-flash-gallery-question/#findComment-497819 Share on other sites More sharing options...
inimicus Posted November 7, 2007 Share Posted November 7, 2007 Are PHP sessions being used? Are pictures upload during the same session? You could put the image names into a session array, have the array print thumbnails of the images into overlapping div layers, then use javasacript to toggle between shots. This would do away with the Flash entirely... something far from necessary for said application. Link to comment https://www.insanelymac.com/forum/topic/70006-flash-gallery-question/#findComment-498154 Share on other sites More sharing options...
nickg331 Posted November 8, 2007 Author Share Posted November 8, 2007 it looks like i'll end up doing it like that- thanks. still, though, as a point of interest, could anyone give any insight as to how this could be done in flash? Link to comment https://www.insanelymac.com/forum/topic/70006-flash-gallery-question/#findComment-500022 Share on other sites More sharing options...
Recommended Posts