Flash makes cool rotating image album visual effects

Source: Internet
Author: User
Rotating

Use Flash to make album of the tutorial already a lot! It's not here to give us a wordy! Just play with your imagination and believe in yourself! You can! So cool rotating Image album visual effect will appear. Because there are so many similar tutorials, so do not give you a detailed explanation here, if you want to further research, then download the source file yourself!

Web Teaching Network Note: This source file is downloaded from a foreign site! Simple to explain the production process.

Look at the effects and the source files first. ( demo Effect file 184K, if you slow speed may be more wait )

Click here to download source files (Flash source file compression package size 220K)

Simple to tell you about the production process.

First modify the document properties to prepare the pictures and thumbnails used in the animation.

Then make a movie clip, first make a background.

The layer effect of the movie clip looks like the following. Thumbs is to store thumbnails, mask is to draw a positive circle, as a masking use, images is the original image, BG is placed above that background.

Note that you want to turn the picture into a movie clip. The other pictures are similar, here to cut a picture for everyone.

To put the picture thumbnails in place, we use a technique. So the position of the thumbnail is solved!

Each small thumbnail of the production method is very simple, give you screenshots. Cover your thumbnail with a mask!

Finally add a load loading ..., the first frame action is stop ();

The action of the second frame is:

stop ();
positions = [];
Imagetotal = 8;
Pausegallery = false;
Var current:movieclip;
for (var i = 0; i<imagetotal; i++) {
 var t = gallery.thumbholder["thumb" +i];
 t.image = "image" +i;
 t.onpress = function () {
  removemovieclip (current);
  current = Gallery.imageHolder.attachMovie (This.image, This.image, i);
  pausegallery = false;
 };
 t.onrollover = function () {
  pausegallery = true;
 };
 t.onrollout = function () {
  pausegallery = false;
 };
}
Current = Gallery.imageHolder.attachMovie ("Image0", "Image0", 1000);
This.onenterframe = function () {
 if (!pausegallery) {
  for (var j = 0; j<imagetotal; j + +) {
& nbsp;  gallery.thumbholder["thumb" +j]._rotation-= 0.5;
  }
  gallery.thumbholder._rotation + 0.5;
 }
};

Finally you can test it! To give you this explanation of the animation of the overall production process! If you want to further study on the source file download a good study under it!



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.