ESTO CORRESPONDE AL PRIMER FRAME DE MI LINEA PRINCIPAL:
Código ActionScript :
stop(); //home// bh.onEnterFrame = function () { this.gotoAndStop(4); } bh.onRollOver = function(){ if(this._currentframe == 4) { this.stop();} else { this.gotoAndStop(2); } }; bh.onRollOut = function(){ if (this._currentframe == 4) {bh.stop();} else { this.gotoAndStop (1);} }; bh.onPress = function(){ if (this._currentframe == 4) {bh.stop();} else { this.gotoAndStop (3);} }; bh.onRelease = function(){ this.gotoAndStop (4); _root.gotoAndStop(1); }; //servicios// bs.onEnterFrame = function () { this.gotoAndStop(1); } bs.onRollOver = function(){ if(this._currentframe == 4) { this.stop();} else { this.gotoAndStop(2); } }; bs.onRollOut = function(){ if (this._currentframe == 4) {bh.stop();} else { this.gotoAndStop (1);} }; bs.onPress = function(){ if (this._currentframe == 4) {bh.stop();} else { this.gotoAndStop (3);} }; bs.onRelease = function(){ this.gotoAndStop (4); _root.gotoAndStop(2); }; //ubicacion// bu.onRollOver = function(){ if(this._currentframe == 4) { this.stop();} else { this.gotoAndStop(2); } }; bu.onRollOut = function(){ if (this._currentframe == 4) {bh.stop();} else { this.gotoAndStop (1);} }; bu.onPress = function(){ if (this._currentframe == 4) {bh.stop();} else { this.gotoAndStop (3);} }; bu.onRelease = function(){ this.gotoAndStop (4); }; //mail// bm.onRollOver = function(){ if(this._currentframe == 4) { this.stop();} else { this.gotoAndStop(2); } }; bm.onRollOut = function(){ if (this._currentframe == 4) {bh.stop();} else { this.gotoAndStop (1);} }; bm.onPress = function(){ if (this._currentframe == 4) {bh.stop();} else { this.gotoAndStop (3);} };
ESTO A LA SEGUNDA (notaran pequeño cambio nada mas lo que hize para que el siguiente boton fuera el activo):
Código ActionScript :
stop(); //home// bh.onEnterFrame = function () { this.gotoAndStop(1); } bh.onRollOver = function(){ if(this._currentframe == 4) { this.stop();} else { this.gotoAndStop(2); } }; bh.onRollOut = function(){ if (this._currentframe == 4) {bh.stop();} else { this.gotoAndStop (1);} }; bh.onPress = function(){ if (this._currentframe == 4) {bh.stop();} else { this.gotoAndStop (3);} }; bh.onRelease = function(){ this.gotoAndStop (4); gotoAndStop(1); }; //servicios// bs.onEnterFrame = function () { this.gotoAndStop(4); } bs.onRollOver = function(){ if(this._currentframe == 4) { this.stop();} else { this.gotoAndStop(2); } }; bs.onRollOut = function(){ if (this._currentframe == 4) {bh.stop();} else { this.gotoAndStop (1);} }; bs.onPress = function(){ if (this._currentframe == 4) {bh.stop();} else { this.gotoAndStop (3);} }; bs.onRelease = function(){ this.gotoAndStop (4); gotoAndStop(2); }; //ubicacion// bu.onRollOver = function(){ if(this._currentframe == 4) { this.stop();} else { this.gotoAndStop(2); } }; bu.onRollOut = function(){ if (this._currentframe == 4) {bh.stop();} else { this.gotoAndStop (1);} }; bu.onPress = function(){ if (this._currentframe == 4) {bh.stop();} else { this.gotoAndStop (3);} }; bu.onRelease = function(){ this.gotoAndStop (4); }; //mail// bm.onRollOver = function(){ if(this._currentframe == 4) { this.stop();} else { this.gotoAndStop(2); } }; bm.onRollOut = function(){ if (this._currentframe == 4) {bh.stop();} else { this.gotoAndStop (1);} }; bm.onPress = function(){ if (this._currentframe == 4) {bh.stop();} else { this.gotoAndStop (3);} }; bm.onRelease = function(){ this.gotoAndStop (4); };
y como ultimo les dejo el sfw para que vean la diferencia los ultimos dos botones no tienen la programacion para que pasen a ser activos y son como se deberian ver los primeros dos ustedes lo veran es bastante obvio el error. ¡¡Muchas gracias espero no haberlos hecho bolas no soy muy bueno programando apenas inicio en esto.