Ver Mensaje Individual
  #3 (permalink)  
Antiguo 05/07/2005, 16:28
Avatar de tauro
tauro
 
Fecha de Ingreso: marzo-2002
Ubicación: Actualmente: Cd. Victoria
Mensajes: 222
Antigüedad: 22 años, 1 mes
Puntos: 0
Estoy utilizando el codigo de locohuesos2, gracias por la atención, pero tal vez estoy haciendo algo mal, porque no me sale:
Código:
stop();
inicio.enabled = false;

//funcion de sonido
this.onLoad=function(){
	sonido1=new Sound();
	sonido1.attachSound("beep.wav");
}
//*****botones
inicio.texto.text = "Inicio";
cv.texto.text = "Curriculum";
galeria.texto.text = "Galeria";
inicio.onRollOver = function(){
	if(inicio._currentframe <> 14){
		inicio.gotoAndPlay(2);
	}
}
inicio.onRollOut = function(){
	if(inicio._currentframe < 11){
		inicio.gotoAndPlay(7);
	}
}
inicio.onPress = function(){
	inicio.gotoAndPlay(11);
	inicio.enabled = false;
	if(cv._currentframe == 14){
		cv.enabled = true;
		cv.gotoAndPlay(7);
	} else if(galeria._currentframe == 14){
		galeria.enabled = true;
		galeria.gotoAndPlay(7);
	}
	sonido1.start();
	play();
	temporal = "portada.swf";
}
//********************************
cv.onRollOver = function(){
	if(cv._currentframe <> 14){
		cv.gotoAndPlay(2);
	}
}
cv.onRollOut = function(){
	if(cv._currentframe < 11){
		cv.gotoAndPlay(7);
	}
}
cv.onPress = function(){
	cv.gotoAndPlay(11);
	cv.enabled = false;
	inicio.enabled = true;
	if(galeria._currentframe == 14){
		galeria.enabled = true;
		galeria.gotoAndPlay(7);
	} else if(inicio._currentframe == 14){
		inicio.enabled = true;
		inicio.gotoAndPlay(7);
	}
	sonido1.start();
	play();
	temporal = "cv.swf";
}
//**********************************
galeria.onRollOver = function(){
	if(galeria._currentframe <> 14){
		galeria.gotoAndPlay(2);
	}
}
galeria.onRollOut = function(){
	if(galeria._currentframe < 11){
		galeria.gotoAndPlay(7);
	}
}
galeria.onPress = function(){
	galeria.gotoAndPlay(11);
	galeria.enabled = false;
	if(cv._currentframe == 14){
		cv.enabled = true;
		cv.gotoAndPlay(7);
	} else if(inicio._currentframe == 14){
		inicio.enabled = true;
		inicio.gotoAndPlay(7);
	}
	sonido1.start();
	play();
	temporal = "galeria.swf";
}
Este es el codigo, esta en el frame 5, pues del 1 al 3 tengo un preload y el 4 predetermino el estado del boton de inincio(lo deshabillito), les agradezco al atención!!

Saludos!!
__________________
Y entonces ví qué excelencias puede lograr un ingenio mediocre en un arte particular cuando emplea toda su vida en trabajar y afinarse en un único sentido... :arriba: