movie clip within over button - hover state
by Mike Land
on
Mar 27, 2009 at 4:20:35 pm
Hi!
I've created buttons that when moused over trigger a movie clip that expands a little description of where the button leads. It works fine except immediately after clicked, the movie clip plays again.
I'm looking for AS3 that will play the movie clip and then disable until after the mouse leaves the hit field... without luck. Is this possible with AS3?
Re: movie clip within over button - hover state by Abraham Chaffin on Mar 27, 2009 at 10:48:15 pm
Unfortunately a button in AS3 has a lot of limitations. It's better to use a movie clip and synthetically add features to it to make it work like a button. Doing this will allow you much more flexibility for adding features like what you are talking about.
Not knowing exactly what you're doing I'll give you some general ideas of what you would need to do:
1) Convert the button to a movie clip in the library and on the stage.
2) Add some action script to have it use a hand cursor: