View Full Version : mouseover effect
billie1
01-17-2005, 08:03 PM
how to do this on mouseover effects, above the bottom picture?http://www.eoside.com/
valpez
01-19-2005, 06:33 AM
Are you talking about the door animation at the beginning?
billie1
01-19-2005, 09:18 PM
no, enter the site. its mouseover effects above bottom picture
valpez
01-20-2005, 12:56 AM
It is just a gotoAndPlay animation when the button, or area where the text is, is rolled over. Once it is rolled over, the animation starts. Then when it is rolled out, the animation is played to the end.
In short, gotoAndPlay's and tweening.
billie1
01-20-2005, 12:01 PM
no, i think its actionscript, because with motion tween is not so smooth.
valpez
01-20-2005, 03:57 PM
Well, you can do it with as, sure, but that is the more difficult way to a rather simple effect.
Notice two things from this animation which show why it is just a motion tween: When it is rolled over, the text on the left-for instance, "TEL"-dissapears until the animation finishes then shows again in the color white, and when the animation finishes the phone number shows up.
This can be done with as, but it is more difficult than it needs to be. I just looked at it again, and instead of a simple goto function, it is using a script that moves the timeline of the animation backward and fowards depending on if the mouse is over the button or not.
If you need an example, ask.
billie1
01-21-2005, 11:20 AM
post me an example. if you dont know how to do it with script, do it another way. i just want it to go smooth.
valpez
01-21-2005, 03:10 PM
lol, i know how to do the script. But it would be pointless in this case; it is not necessary to code such a simple animation.
I'll post an example after i finish my two classes today.
valpez
01-21-2005, 03:20 PM
no, i think its actionscript, because with motion tween is not so smooth.
Actually, to save myself some time, since it sounds like you have already attempted to do this effect without as, post what you have so far, then i'll work from there and add the few lines of code that the animation needs.
valpez
01-21-2005, 08:04 PM
You can add the slight elastic effect if you want it.
billie1
01-22-2005, 11:21 AM
yes, i have done the same thing with motion. but i dont like the thing that with motion, to incrase the speed of animation, you have also incrase the frame rate up to 30-40 fps. im working in a project, and that's not work for me.
billie do you have MX 2004?
billie1
01-22-2005, 07:13 PM
yes, i have. why?
valpez
01-23-2005, 01:49 AM
yes, i have done the same thing with motion. but i dont like the thing that with motion, to incrase the speed of animation, you have also incrase the frame rate up to 30-40 fps. im working in a project, and that's not work for me.
You can always add more frames to the tween to increase the speed of the animation...I have no idea what you really want; but, i tried. Hopefully Tink can help you.
billie1
01-23-2005, 10:42 AM
i'm trying to tell you that if i increase the speed of the rolloverEffect, the whole movie will be in this speed. i dont want that. and with AS i'm able to set the speed myself, without adding more frames, or increasing the frame rate.
heres a AS 2.0 version using the Tween object
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.