You are Here:Home>>Old Posts>>Create an AS3 gallery with Thumbnail Slider+LoaderV3+MCTE

Create an AS3 gallery with Thumbnail Slider+LoaderV3+MCTE

Carlos Pinho
By | 2008-02-27T14:44:23+00:00 Feb 27, 2008|Old Posts|

AS3 gallery with Thumbnail Slider+LoaderV3+MCTE

1. In this tutorial we’ll try to build a professional slideshow in a few easy steps using 3 components together: Thumbnail Slider, Loader Pro V3 and the Movie Clip Transition Effect (MCTE). /*for an additional effect we’ll add a special pattern to the MCTE.*

2. Log in to our website at http://www.jumpeyecomponents.com if you’ve already created an account. If you didn’t, please sign up for one. You need to be logged in so you can download the trial versions of the components above.

3. Follow the links bellow and download the free packs with the trial files:
a. Thumbnail Slider
b. Loader Pro V3
c. Movie Clip Transition Effect

4. Install the mxp files for all the 3 components.

5. Open the demo.fla file that came along with the Thumbnail Slider (search here: ThumbnailSliderTrial /demo/demo .fla) and then, drag the Loader Pro V3 and MCTE from the Components window to your library:

6. Select the default mx loader component that’s on your Library and delete it. Replace that loader with the Loader V3 Pro by dragging it on the stage in place of the old one. Set the new loader dimensions and position to fill up the blank space above the dynamic text field (width= 600; height= 450; x=0; y=0). This is how your stage should look like:

7. Give the loader on stage an instance name (I’ve named it loader):

8. Select the Thumbnail Slider on stage and type in “loader” on the targetDisplay field from Component Inspector :

9. Compile your movie (Ctrl+Enter) to see if you have successfully replaced the default mx loader. If you did so when you click a thumbnail picture, the correspondent large one must be displayed:

10. Drag an instance of the MCTE on stage over the Loader (it will automatically snap to it’s upper left corner):

11. Select the Loader Pro insert the large picture’s path in the contentPath and on its transitionType field choose “MCTE”:

12. Select the MCTE on stage and set the following parameters in Component Inspector :
a. patternName = SquareScale
b. customParam1 = 60
c. gain = 50
d. preset = random
e. tweenDuration = 10

13. Compile your movie to see if the MCTE works:

14. I’ve also installed the Square Pack pattern for the MCTE. For further reference on how to use custom patterns for the MCTE please read this tutorial but you’ll need to purchase this pack only if you want to use it too. I’ve picked up the MCTEPatternSquareFade, set it up in Component Inspector and then I compiled the movie with the new pattern.

Download the source files of this gallery in order to see how it works. This gallery was created with the trial version of these components that’s why it will work only inside your Flash IDE.

Download the source files for this tutorial

About the Author:

Carlos Pinho
A father, a husband and a geek... Carlos was the founder of projects like The Tech Labs and Flash Enabled Blog. He is the founder of TekTuts He is passionate about technologies. Their main skills are in analytics, transport & logistics, business administration. He also writes about programming resources, trends, strategy and web development.