Can someone tell me how to make the Globe in the attachment "stop" when the mouse goes over the "H" button, and then resume spinning when the mouse goes off the "H" button.
I've been trying this:
on (rollOver) {
my_globe.stop();
}
on (rollOut) {
my_globe.play();
}
But no luck.
Also, is there a way to make a pop-up layer for a description when the mouse goes over the "H"?
Hmmm...a few things...I tend to avoid using buttons whenever possible (and it almost always is). You just have much more versatility with movie clips...that being said...put the following script on your button:
Code:
on (rollOver) {
this._parent.stop(); //this is basically telling the clip that is a nested "layer" above your button to stop...
}
on (rollOut) {
this._parent.play();
}
As far as a pop-up "layer," since you're using a button anyway, you might as well just put the pop-up in the second frame (the over state) of your button...
Hope that helps!
Also, to refer to a movie clip, you have to name the "instance" of that clip in order to refer to it. You can't refer to it by its symbol name...the <Instance Name> field is in the properties panel...
Love like you've never been hurt, live like there's no tomorrow and dance like nobody's watching.