|
 |
|
|
|
|
|
This is a tut for those who just want to scroll or fade a series of images.
First thing's first: know what a sprite is and how it works
1. instantiate a sprite.
2. draw a rectangle (or whatever shape you'd like) within the sprite in the area you want your pictures to be seen by the awestruck public. In the sprite's options make sure you check "use bottom object as mask" explanation: the last object in your sprite is the "bottom object" for obvious reasons. If you have a large object as the "mask" and all your images are smaller than the "mask" AND inside the area of the mask itself then they will be shown, but if your images are larger than the "mask", only the part of the image within the "mask" will be seen. just in case you forget, leave this object at the bottom of the sprite.
3. insert your pictures into the sprite! go ahead! load the f***** up! make sure, however, that the "mask" object is still the last thing in your sprite
4. For the effects of the images, first "place" the image and set the alpha on the "place" to "transparant". immediately following the "place" make the image "slide in from the right" and set the alpha on this effect to "100% opaque", then skip ahead about 20 ticks on the time line and make the image "slide out to left" setting the alpha for this effect to "transparant".
5. Rinse. Lather. Repeat. Do the same for the next image, but have the "slide in from the right" effect overlap "slide out to left" from the previous image. once you've reformed all of your images then play the movie.
6. if you want these images to repeat continuously, then don't check "stop playing at end of sprite" in the sprite's options.
I've enclosed the example. enjoy.
Download Source
|
|
|
|