English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Why is when you enter a letter and convert it too a button it does not behave that way but when you add a circle to Flash and convert it to a button it does act like a button?

What I would like to do is to animate a letter when the user hovers their mouse over it. It would change color and then return to the original color.

So for example we have the letter "A" on screen.

* User hovers mouse over letter
* Animate letter from Red - Yellow - Green - Red
* This is a two second animation.

I was thinking of adding an invisible button but that wont help because when the user hovers the mouse over the letter any keyframes on the mouseover event will only be for the Button and not the letter so that wont work.

How do you solve this solution?

2006-12-09 19:55:14 · 1 answers · asked by Siu02rk 3 in Computers & Internet Programming & Design

arus.geo - I see the logic in that but that is the same logic I think as creating an invislbe button and placing it over the text. It still wouldn't allow me to manipulate the mouse over event on the Text.

2006-12-09 21:24:23 · update #1

1 answers

Flash in only able to detect the area that has 'content'. so if you make a letter a button. only the parts that make that letter , flash can detect.

1) Write your text
2) turn it into a symbol
3) turn that symbol into a button
4) place your symbol on one layer on the button
5) create a new layer
6) draw a square over your first layer about teh same size as your letter
7) turn that square into a symbol
8) put an opacity of 0% on that square

You'll find your button will behave much like you want it to.

2006-12-09 21:19:18 · answer #1 · answered by arus.geo 7 · 1 0

fedest.com, questions and answers