Featured FLA
» Author: Bugra Ozden
» Title: Skatalog v9 - product catalog
» Description: Create your product catalog easly and publish on your website or Create your image gallery, documents list, portfolio. Fully XML Driven
» More by Bugra Ozden
Featured Site
» Posted in the Flash Kit Links section
» Title: Creative DW Image Show PRO
» Description: Creative DW Image Show PRO is a Dreamweaver extension which enables the user to create multimedia presentations. It combines the features of the popular Creative DW Image Show with the ability to add professional text effects to slides (similar to After Effects). The product is very customizable: the user can choose the duration of the transition effects, the slide motion start and end position, zoom and panning type for both images and texts.
Your overlay or magnifying glass correlates to your mask just like the thumbnail correlates to the larger movie clip to be viewed.
Create a new movie clip with a rectangle in it that is 1/5th of the mask. This will be easy since the mask and the large clip are the same size. That means this is the same size as the thumbnail (120x88). Use the mixer or properties panel to put an alpha effect on and it will be see through. Finally, make sure this object is at 0,0.
Create the drag effect
[Still in the magnifying glass movie clip] Create a transparent button and place it on the top layer of the clip. Register it at 0,0 inside the movie clip (i.e. position it to 0,0). Use the following code for the drag effect...
on (press) {
// start the drag
startDrag ("_root.mag");
// play the clip to activate the code in frame 2
play ();
mouse_down = "true";
}
on (release, releaseOutside) {
// stop the drag
stopDrag ();
// stop the clip to save some processing
stop ();
mouse_down = "false";
}
This code assumes we've named our movie clip 'mag'...we'll do that in a moment. It also sets something up we're about to do in the frames clips.