flash mouse easing
- Started
- Last post
- 20 Responses
- unknown
how do i do this in flash mx...
when user moves their mouse to the right, the content (movieclip) eases to the right and vice-versa?
tried searching google and flashkit but couldn't find anything... thanks in advance.
- ********0
this._x = _root._xmouse;
or a variation on it.....
- ********0
hmm? I wish I knew too. ;)
- ********0
StyleJunky, check yer mail....
- ********0
send me one too dude, pretty please with sugar on it...? ;)
- ********0
JazX, you have mail!
today's shining star award to myslef I think ;p
- ********0
you get the good deed of the day award man! ;)
- jevad0
share the wealth lads...share the wealth
- ********0
ANYONE ELSE??
- ganon0
i would like some mail too!...
thanks
- ********0
cha-ching mail for U-hu!!
- ********0
bling, bling yo!
- ganon0
HOLLA!...
uh, i mean, thanks!...
- ********0
anytime - it beats working ;p
- unknown0
hmmmm ;)
me too master ! me toodanks vielen danks
here is a personal bavarian song (i would like to say i don't usually spaek german .. Enjoy !!)
yo yo yo
vielen frucht in das wald
und schmeterling in der skye
yo yoy yoSchöne mädchen mit grossen busen
Mach mir drucht une unverantwortlich !jajaja
- ********0
mx..
i'd love some of your goodness
you sir are a true gentleman
- ********0
yeah it beats working anyday of the week.
- ********0
SamDam & drunktank check your mails too....
good night for today!
- londonBoy0
Use this onClipEvent on the movieclip that follows:
onClipEvent (enterFrame) {
this._x += ((_xmouse-this._x)+(this._x))/6;
}
- stewart0
hey wannabees, here i have a nice variation:
http://www.vahk.nl
then click "werk".fla-file send to you for only
$ 125,-
- monNom0
hmmm, i dont know why I thought the topic title was "flash mouse eating"... i was so let down.
but yeah, something to the effect of
onClipEvent (enterFrame){
rate = 6;// speed
centre = 300;//centre point
this._x += (_root._xmouse - centre)/rate;
}or something to that effect... they're better when they have a small gap between moving... say 20 - 30 px so you can catch the menu
PS. that code was written right now and is probably buggy as hell.