How to Make a Photo Album Slide Show

This version uses one layer for each picture in the slide show plus a layer for the picture frame, so you can have up to 31
pictures.

* * *

Basically, you are going to fade out the last picture and fade in the next picture, using the 'N' column and the Lucidity
core-script, with just a few points for fade in and fade out. At the point that the picture has the 'N' value of '1',
completely faded out, the 'X' value is also changed to '-600' to move the layer off screen so that it cannot be clicked on.

In this example, the picture frame holds a 500 x 300 pixel image. You will have to shrink and/or crop your photos to be all
the same size.

For each layer, you will add a call to DIVaction in the OnClick field:

DIVaction('Photo1,Photo2','a','')

Where 'Photo1' is the current layer, containing the currently visible photo, and 'Photo2' is the next layer to be viewed.

The last layer will reactivate the 'Photo1' layer, creating a loop:

DIVaction('Photolast,Photo1','a','')

* * *

With the exception of the first photo, when each layer is activated, the photo for that layer will fade in on the first click
and fade out on the second click. As each photo fades out, it moves off screen, so that it cannot be clicked again until the
next time it is activated (by the preceding photo's layer).

Here is the trajectory array I used for the 2nd Layer and all layers after, up to 31. Copy this array, or one like it, and
paste it in the data field of the Import tool for each layer. You can use different x and y values and rates of change in the
fade if you want to.

Notice that the action will pause when x = -600 (off screen) and N = 1, fully faded, and pause again when x = 52 and N = 100.

-600,54,100,,1
-600,54,100,p,1
52,54,100,,20
52,54,100,,40
52,54,100,,60
52,54,100,,90
52,54,100,p,100
52,54,100,,90
52,54,100,,60
52,54,100,,20

The first photo has a slightly different trajectory, being fully visible and paused at first and then fading out and moving
off screen:

52,54,100,p,100
52,54,100,,90
52,54,100,,60
52,54,100,,20
-600,54,100,p,1
52,54,100,,20
52,54,100,,40
52,54,100,,60
52,54,100,,90


* * *

Add a layer for each photo, select the pic file for each photo, import the trajectory for each layer and set the OnClick
method to the DIVaction call shown above.

You're ready to roll.

* * *

This method for creating a slide show can also be used to create other types of presentations.

*
* July 20, 2009 ABQConnect.com
*