Avatar of Tom Knowlton
Tom Knowlton
Flag for United States of America asked on

shiny text animation

I have been trying, without success, to get a "shiny text" animation to work in Adobe Flash CS4.

I have attached the FLA file.

The "white light" goes over the text ...  but I want to iimplement a mask that makes ONLY the text get the shine.    
witot-shiny.fla
Adobe Flash

Avatar of undefined
Last Comment
Tom Knowlton

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
quizengine

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Tom Knowlton

ASKER
quizengine:

witot-shiny-v2-cs3.fla was EXACTLY what I was trying to accomplish!!!


What changes did you make?  I actually want to learn how to do this...do you mind taking a moment to teach me?
Tom Knowlton

ASKER
Perfect, fast solution!
quizengine

The trick is to make the *text* the mask, as well as having the text that you see. So there are two copies of the text - one used as a mask and one to be seen normally.

Look at the three layers - the top layer (the mask) contains the text. The next layer contains the shine with the tweened motion, but it can only be seen *through* the text that's on the mask layer.

Because the mask and shiny layers are above the third 'ordinary' text layer they *obscure* the normal text while the shiny clip is passing, but show through once the shiny clip has passed beyond the mask.

Make sense ?
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Tom Knowlton

ASKER
It makes sense....I guess.  :(

I just don't quite get why ANOTHER text layer would be needed.

In all the tutorials I tried working through online...none of them mentioned another layer of text.

Do you know of any tutorials that cater to this "second text layer" solution?

It obviously works....  :)
Tom Knowlton

ASKER
So you are saying that the ONLY thing I needed to do was add another "base" text layer?

I was pretty close?
quizengine

I did it so quickly that I forget the steps. Let me go back to your original file and document the steps I took from there.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
quizengine

From your starting file here are the steps I took.

Unlock all layers
Right click the 'glint' layer and untick 'mask' (glint is no longer a masking layer)
Drag the 'glint' layer *into* the mask layer that is beneath it (layers now read, from top to bottom,

mask
 |
 +- glint
 +- text

Note the two bottom layers are  currently masked by the top
Click the 'text' layer to select it in the timeline. Click and drag *down and left* (imagine you are trying to drag it under and to the left of the layer above it. What you are actually trying to do is take it *out* of the mask layer, but still leave it as the bottom layer. If you succeed your layers should look like this

mask
 |
 +- glint
text

Hide the glint and text layers (the little 'eye' symbol on the timeline).
Click the blue rectangle on the mask layer. Tap delete to get rid of it.
Unhide the text layer.
Click the first keyframe in the timeline on the text layer - this will select all of the text on the stage.
Click 'edit, copy'
Hide the text layer.
Click the (now) empty keyframe on frame 1 of the mask layer.
Click 'edit, paste in place' - this will make a second copy of the text, but this will act as a mask.
Press control+b (break apart). We need to turn the text on the mask layer into shapes for it to act as a mask. If you succeed the rectangles around the text will vanish, and you will see that same shapes, but they will be coloured 'dotty' to show they are now shapes and no longer text.
Press control and enter to see the movie.
You may want to tweak the starting and ending points of the tween positions on the glint layer, but essentially you're done.
quizengine

I hope that makes sense now. Basically I think you need to read more about masking in Flash. Google something like 'text mask flash tutorial' or 'animated mask flash tutorial' and see what you get
Tom Knowlton

ASKER
It will take me a while to work through the steps.  Thank you for that.

Here is the finished result.  I copied what you did and applied it to the word "DESIGN" in my logo:

http://www.witotdesign.com
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
quizengine

Nice.

Good luck with your business.
Tom Knowlton

ASKER
Thank you.

And thanks again for your excellent help!