Creating a Smooth Looping Slideshow For MotionArtist 2 and 3 In this tutorial we'll build a slideshow which will loop smoothly through a set of JPEG images. In this tutorial we'll build a slideshow which will loop smoothly through a set of JPEG images. The first thing to do is to create a new blank document; we can use the default size of 800x600, but of course you can set the size to suit your needs. Remember, the bigger the project, the longer it'll take to download and start running. We should also select the Timeline view, down at the bottom of the workspace, as we'll be doing most of our editing there.  Now we're ready to start importing images. The easiest way to do this is to resize our workspace to leave a bit of room at one side, open up a folder full of images, and drag-and-drop them, one by one, onto our new document, as shown-  Since the images we're adding will appear and disappear over time, we'll need to edit their entries in the Timeline- this is also a good time to position and resize the images, since your images may not be all the same size, and some of them may be larger than the 800x600 space in which we're working. It's easy enough to shift-click-and-drag on the resize handles on the corners of the images, to resize them proportionately; we can also nudge the images around on the page by selecting the image's entry in the Timeline and using the arrow keys on the keyboard. Once we adjust the lengths of time during which each image will appear onscreen (we'll want some overlap, since we'll be setting up fade-ins and fade-outs as the next step) we should be sure to include two entries for our first image- we want its time onscreen to be split, half at the beginning of the cycle, when it'll start to fade out, and the other half at the end of the scene, when it'll fade in. This may seem counterintuitive- you'd expect to have something fade in at the beginning of a slideshow- but to get a smooth transition when the end of the cycle is reached, we actually want to open the show with the first image in place and fading out. Note how we have set up the "split" Image1 item- after placing all the images, we select the entry in the Timeline for Image1 and choose Copy and Paste from the Edit menu (or we could drag-and-drop another copy of the chosen image, then scale and position it properly) to create an exact copy of the image, and then edit its time onscreen as shown. This would also be a good time to save the MotionArtist project. Now, to edit the animation properties of the items in the Timeline, we just double-click them as shown- -and use the tabbed Animation Settings dialog to set up the behavior of the images as they appear (we'll use a Fade In), as they stay onscreen (we won't do anything here) and as they disappear (as shown, we'll select Fade Out.)  We can actually drag the little sub-handles for each item in the Timeline to control the speed with which they fade in and out; the final result should be something like this- The next step is to preview the project by clicking the Preview Movie button, or choosing Preview Movie from the File menu (ctrl-M.) Now that all our transitions are in place, and assuming they're what we want, we can save the final version of the project. The only thing remaining is to export the slideshow as a SWF file with accompanying HTML code, by selecting Create SWF from the File menu and choosing a name and location for our SWF. For instructions on incorporating the SWF into a Web page, see our tutorial. 
We can actually drag the little sub-handles for each item in the Timeline to control the speed with which they fade in and out; the final result should be something like this-  The next step is to preview the project by clicking the Preview Movie button, or choosing Preview Movie from the File menu (ctrl-M.) Now that all our transitions are in place, and assuming they're what we want, we can save the final version of the project. The only thing remaining is to export the slideshow as a SWF file with accompanying HTML code, by selecting Create SWF from the File menu and choosing a name and location for our SWF. For instructions on incorporating the SWF into a Web page, see our tutorial.
|