Advertisement
  1. Code
  2. Flash
Code

Exclusive Freebie: AS3 Image Revealer

by
Languages:

"Pinch, punch, first of the month", "White Rabbits" - however you like to mark the dawn of a new month, we like to bring them in with freebies :) This month, we have a great little AS3 Image Revealer from Carlos Yanez.

Image Credits:


AS3 Image Revealer

Take a look at the usage examples:

Here is an example revealing a black and white version of an image:

This can be very useful in before and after comparisons:


Features

Using this base file you can:

  • Change the before and after (bottom-top) images
  • Use any Display Object for the effect
  • Modify the slider graphic

Usage

Open the ImageRevealer.fla and edit the MovieClip in the stage, use the Timeline to determine where to place every image and adjust the Mask size to fill the image.

Open the Main.as file and edit the highlighted lines:

Advertisement
Advertisement
Looking for something to help kick start your next project?
Envato Market has a range of items for sale to help get you started.