Groups | Blog | Home
all groups > flash actionscript > february 2006 >

flash actionscript : Rollover within a rollover


tralfaz
2/26/2006 12:59:00 PM
[quoted text, click to view]

You can temporarily disable the button until it is needed again.

_root.moreInfo.onRollOver = function() {
_root.animatedtext_mc._visible = false;
_root.moreInfo.enabled = false; // disable this button
gotoAndPlay("infoRollOn");
}
tralfaz

Timothy Hall
2/26/2006 8:31:15 PM
I am new to actionscript and Flash in general, so this is a newbie question.

Here is a http://issues.swingthing.net/flash/2.mov that describes my problem.

Here is the actionscript that is (probably) causing the problem..


_root.moreInfo.onRollOver = function() {
_root.animatedtext_mc._visible = false;
gotoAndPlay("infoRollOn");

}

_root.moreInfo.onRollOut = function() {
_root.animatedtext_mc._visible = true;
gotoAndPlay("infoRollOff");
}
Timothy Hall
2/26/2006 9:22:04 PM
AddThis Social Bookmark Button