Log in

View Full Version : Dynamic Filmstrip w/image swap Help!!



thedoctor
11-21-2007, 03:21 PM
I am not a expert in actionscripting, but I am attempting to figure out how to do a slide show that:

Looks like a filmstrip (left-right)
Load images dynamically in some way to easily updated.
Has to have a rollover of the "negative" image (2 files)
Stop on rollover, and no be able to be controlled in any other way.

Most of this is easy, and I can do everything except getting it to do a image swap. I am not sure if doing emptyMC, or try XML (little experience)
IF someone could help me figure out which path I should try to pursue that would be great.

BLiZZaRD
11-21-2007, 04:10 PM
Looks like a filmstrip (left-right)

This is all in the movieClips you create, design it how ever you wan :D



Load images dynamically in some way to easily updated.

XML will be your friend here, naming the photos something simple is easiest as well.



Has to have a rollover of the "negative" image (2 files)

Then you will need to load both images at the same time, or use something other than XML . You can create a mask layer to cover the pictures, and make it negative-esque, but it won't be an exact negative. This will be the easiest both style and coding wise. Just depends on what you want for sure and where you are willing to bend. If you can create a nice transparent overlay for the film strip you can give off the appearance of a negative without too much detail, and then set it as an MC with an instance name and linkage identifier, and then set ._visible to true by default and fales on roll over.



Stop on rollover, and no be able to be controlled in any other way.

So this will constantly scroll? The stop function will be your friend here as well, if you use a function to scroll stop function on mouse over, restart on mouse out.

thedoctor
11-21-2007, 04:18 PM
any good tutorials on how to load xml, i mean easy to understand and follow along with?
XML is the way I need to go, I think a 2 frame empty movie clip that loads the 2nd image, and a rollover that goes to frame 2 will be the best solution, the images must look like the exact negative.

Thanks for the help.

BLiZZaRD
11-21-2007, 05:57 PM
The basic Idea for XML driven galleries can be found HERE (http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm) I have a link to a better one here (http://www.tutorio.com/tutorial/simple-flash-xml-photogallery/1) but the site appears to be broken.