Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mouseover/Mouseout...

Status
Not open for further replies.

WhiteTiger

Programmer
Jun 26, 2001
605
US
On the forum site, I was advised to make it so those buttons didn't play the animation when you took your mouse off of them...but ummm...crud, man!...now I know how to do it, but on the intro part of the site, those buttons are supposed to do that little fade echo thing so when they come in, they echo first...but now I get the side effect of them doing that when I roll off of them...how could I make it so it played the down sequence when the buttons first came in?...because I'd like to fix that. I never really noticed until now, and it kinda bugs me.
 
I don't think you can target a state of a button. What you could do is take the down sequence, make it into it's own mc (if you haven't already got it that way) and use that. When the animation has played and you're ready for the buttons to be there, just swap em! Just shift to a new frame where the buttons are.

Do you understand this? I probably didn't explain it that well. roda B-)

Learning is like rowing against the current. As soon as you stop, you start going backwards.
 
No, I got it...and yea, it's already an MC...;)
Unlike that other guy I know what I'm doing......I think. :p

Anyways, Yea, I Guess I could swap them, but it's really going to be a hastle...I was kind of hoping that there might have been like 3 lines of code I could've dropped in...;)...

Oh, and I maybe a nooB, but I've had experience for about 2 years working with Visual Basic 5.0, so I have SOME programing experience...just some syntax is a little different...
 
Well you could try this - don't know if it will work. I guess the bits you want to change are already animated... right? If you click on the instance you want to change you should have an option to change that for another symbols instance. In F5 you just bring up the instance properties window and theres a swap symbol button. When you click on this it will take you to the library and you can select which one you want to replace the original. This makes things much easier than re-animating. roda B-)

Learning is like rowing against the current. As soon as you stop, you start going backwards.
 
Yea, I figued that one out...I clicked on the instance when it was done showing up, inserted a key frame, and the used swap symbol button...so at the end, when the animation is done, it swaps the button out...thanx.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top