thecynicality
Technical User
Ok say i have 2 buttons on a page, is there an actionscript that will make 1 dissappear when i have the mouse over the other?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Button.prototype.onRollOver = function(){
for(var btn in _root){
if(typeof(_root[btn])=="object" && _root[btn].type== undefined)
//to eliminate textfields
_root[btn]._visible = false;
}
_root[this._name]._visible = true;
}
Button.prototype.onRollOut = function(){
for(var btn in _root){
if(typeof(_root[btn])=="object" && _root[btn].type== undefined)
_root[btn]._visible = true;
}
}