I would like to show a title if the mouse cursor gets on a button. (Similar to HTML’s title tag)
I’ve more than 40 buttons on stage. What is the best way to do it?
Thanks.
Uli
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
AS far as I’m aware there is no property for simpleButton to specify a tool-tip/title text when the mouse hovers over. You’d have to do it manually.
One tutorial (simpler and more straight forward than some of the others) can be found here: http://www.flashuser.net/flash-tricks/tips-tricks-8-actionscript-30-easy-made-tooltip.html
You would then apply it to all 40 of your buttons via ActionScript using a loop.
Alternatively you can add a mouse over event to all of your buttons and just call a function that would update a TextField’s text somewhere on the stage.