-- online Search!
Look, an author!

Shine Effect, Page 1

by Sharif Karim aka REEF   | filed under Flash and ActionScript

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.


 
[ press the phone and watch the screen ]

In this tutorial, you will learn to the create the above glint effect. The following steps should help you!

Here's How Its Done:

  1. 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.
  2. On your first layer, import (Ctrl+R) an image you'd like to apply the shine effect to. Lock your "Image" layer. 

     
    The Image Layer

    [ I'll be using a cell phone image ]

  3. 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:  

    The Rectangle

[ 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:

  1. 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

The KIRUPA Newsletter

Thought provoking content that lives at the intersection of design 🎨, development 🤖, and business 💰 - delivered weekly to over a bazillion subscribers!

SUBSCRIBE NOW

Creating engaging and entertaining content for designers and developers since 1998.

Follow:

Popular

Loose Ends

:: Copyright © KIRUPA 2026 //--