globe
1
This has been bugging me for a long time.
The thing is, the animation doesn’t not reverse itself when the mouse is rollout at a considerable speed.
Below is the code I used…
on (rollOver) {
tellTarget ("/news") {
gotoAndPlay("/start_r")
gotoAndPlay("/start_l");
}
}
on (rollOut) {
tellTarget ("/news") {
gotoAndPlay("/end_r")
gotoAndPlay("/end_l");
}
}
Attached is the fla file. Pls advise.:*(
system
2
use a hitTest
something like:
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
tellTarget ("/news") {
gotoAndPlay("/start_r")
gotoAndPlay("/start_l")
}
} else {
tellTarget ("/news") {
gotoAndPlay("/end_r")
gotoAndPlay("/end_l")
}
}
}
system
3
forget about it … in your case it doesn’t work :-\
system
4
I haven’t downloaded your fla in my first post but it’s always better to use a hitTest [at least for me :beam:] so I told you that
here’s another way and it works …