Ver Mensaje Individual
  #2 (permalink)  
Antiguo 30/03/2005, 09:48
Avatar de TMeister
TMeister
Crazy Coder
 
Fecha de Ingreso: enero-2002
Ubicación: En la Oficina
Mensajes: 2.880
Antigüedad: 22 años, 3 meses
Puntos: 193
Prueba algo asi.

Código:
posicionbotones = [130, 190, 250, 310];
clips = ["clip1", "clip2","clip3","clip4",]
for (i=1; i<=4; i++) {
	clip_mc = attachMovie("cuadro", ""+i, 4+i);
	clip_mc._x = 320;
	clip_mc._y = posicionbotones[i-1];
	clip_mc.clip = clips[i]
	clip_mc.texto = clip_mc._name;
}
Código:
var f:Number = 0.7;
var r:Number = 0.2;
var s:Number = 90;
var xys:Number = 0;
this.onEnterFrame = function(Void) {
	xys = xys*f+(s-this._xscale)*r;
	xys = xys*f+(s-this._yscale)*r;
	this._xscale += xys;
	this._yscale += xys;
};
this.onPress = function(Void) {
	s = 120;
	attachMovie(this.clip, "cuadro_tclips", 0, false);
};
this.onRelease = this.onReleaseOutside=function (Void) {
	s = 90;
};
this.onRollOver = function(Void) {
	s = 120;
};
this.onRollOut = function(Void) {
	s = 90;
};