Ver Mensaje Individual
  #17 (permalink)  
Antiguo 22/08/2007, 12:39
Rizzo
 
Fecha de Ingreso: septiembre-2006
Mensajes: 1.193
Antigüedad: 17 años, 7 meses
Puntos: 30
Re: como dimensiono una imagen?

prueba asi ahora


//perro 1
Código:
//perro 1
var foto_mc:MovieClip =this.createEmptyMovieClip("contenedorfoto", this.getNextHighestDepth());
foto_mc.loadMovie("http://www.galoelectronica.com.ar/borrar/imagenesadopciones/14042005-1.jpg");
//--------------------------------------------------------------------------------------
//--------------------------------------------------------------------------------------
function precarga() {
trace(foto_mc.getBytesLoaded()+"  de  "+ foto_mc.getBytesTotal())
	if (foto_mc.getBytesLoaded() != 0 && foto_mc.getBytesLoaded() == foto_mc.getBytesTotal()) {
		foto_mc._x = 200;
		foto_mc._y = 200;
		foto_mc._height = 150;
		foto_mc._width = 230;
		//--------------------------------------------------------------------------------------
		//--------------------------------------------------------------------------------------
		if (foto_mc._height == 150) {

			clearInterval(id);
			
			trace("Fin")
		}
		//--------------------------------------------------------------------------------------  
		//--------------------------------------------------------------------------------------

	}
}
id = setInterval(precarga, 10);


//leopardo

Código:
//leopardo
var foto_mc:MovieClip =this.createEmptyMovieClip("contenedorfoto", this.getNextHighestDepth());
foto_mc.loadMovie("http://www.galoelectronica.com.ar/borrar/imagenesadopciones/28082006-2.jpg");
//--------------------------------------------------------------------------------------
//--------------------------------------------------------------------------------------
function precarga() {
trace(foto_mc.getBytesLoaded()+"  de  "+ foto_mc.getBytesTotal())
	if (foto_mc.getBytesLoaded() != 0 && foto_mc.getBytesLoaded() == foto_mc.getBytesTotal()) {
		foto_mc._x = 200;
		foto_mc._y = 200;
		foto_mc._height = 150;
		foto_mc._width = 230;
		//--------------------------------------------------------------------------------------
		//--------------------------------------------------------------------------------------
		if (foto_mc._height == 150) {

			clearInterval(id);
			
			trace("Fin")
		}
		//--------------------------------------------------------------------------------------  
		//--------------------------------------------------------------------------------------

	}
}
id = setInterval(precarga, 10);







//perro 3

Código:
//perro 3
var foto_mc:MovieClip =this.createEmptyMovieClip("contenedorfoto", this.getNextHighestDepth());
foto_mc.loadMovie("http://www.galoelectronica.com.ar/borrar/imagenesadopciones/22082007-3.jpg");
//--------------------------------------------------------------------------------------
//--------------------------------------------------------------------------------------
function precarga() {
trace(foto_mc.getBytesLoaded()+"  de  "+ foto_mc.getBytesTotal())
	if (foto_mc.getBytesLoaded() != 0 && foto_mc.getBytesLoaded() == foto_mc.getBytesTotal()) {
		foto_mc._x = 200;
		foto_mc._y = 200;
		foto_mc._height = 150;
		foto_mc._width = 230;
		//--------------------------------------------------------------------------------------
		//--------------------------------------------------------------------------------------
		if (foto_mc._height == 150) {

			clearInterval(id);
			
			trace("Fin")
		}
		//--------------------------------------------------------------------------------------  
		//--------------------------------------------------------------------------------------

	}
}
id = setInterval(precarga, 10);