We help IT Professionals succeed at work.

shiny text animation

Tom Knowlton
Tom Knowlton asked
on
423 Views
Last Modified: 2012-05-10
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
Comment
Watch Question

Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Tom KnowltonWeb developer

Author

Commented:
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 KnowltonWeb developer

Author

Commented:
Perfect, fast solution!
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 ?
Tom KnowltonWeb developer

Author

Commented:
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 KnowltonWeb developer

Author

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

I was pretty close?
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.
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.
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 KnowltonWeb developer

Author

Commented:
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
Nice.

Good luck with your business.
Tom KnowltonWeb developer

Author

Commented:
Thank you.

And thanks again for your excellent help!

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.