Archive
This is an archived tutorial about Flash. It's kept for history and may reference outdated tech.
TL;DR
A shine effect is a glare or glint that makes part of an image look like it's catching light. Start with a dark background, import your image onto a locked layer, decide whether to shine all of it or just part, like a phone's screen, then draw a gradient rectangle about twice that size.
- The example uses a cell phone image and shines only the screen when you press the phone.
- A dark background color makes the shine more noticeable to the eye.
- Once the base animation works, experiment with the speed, blur amount, and highlight size to get the look you want.
Many people have had a few problems understanding the shine effect in our previous tutorial. Therefore, this one is designed so you should have no problems. Simply put, a shine effect is a glare, or a "glint" if you will, on a particular shape. It gives the illusion that a part of an image or any other medium you use is glaring from light.
In this tutorial, you will
learn to the create the above glint effect. The following
steps should help you!
Here's How Its Done:
- Start a new Flash document and use a background color that will make the shine noticeable to the eyes. In other words, preferably something dark would work better. Adjust your stage and frame rate as you wish.
- On your first layer,
import (Ctrl+R) an image you'd like to apply the shine
effect to. Lock
your "Image" layer.
[ I'll be using a cell phone image ]
- You'll have to decide
whether you plan to add this shine effect to the whole
image or just a part of it. For this tutorial, I chose
to import a cell phone, and I have chosen to shine only
the screen.
Let's say you choose to shine a part of the image. The next step is to make a special gradient. Create a new layer and make a rectangle with only a fill about two times bigger than the part of the image like so:
[ draw a solid rectangle that is twice the size of the shine effect ]
That is the core idea behind the shine effect. Once you have the base animation working, you can experiment with the speed, blur amount, and highlight size to get the exact look you want.
Before you go, here are a few things you can do:
-
Keep reading
Read the next article in the series, Interactive Image Pan, or check out some related content:
-
Ask a question
Stuck on something, or curious about a detail we skipped? Ask on the forums, and we’ll help you out.
Just a final word before we wrap up. What you've seen here is freshly baked content without added preservatives, artificial intelligence, ads, and algorithm-driven doodads. A huge thank you to all of you who buy kirupa's books, became a paid subscriber, watch the videos, and/or interact on the forums.
Your support keeps this site going! 😇
-Sharif Karim aka REEF