Comunidad de diseño web y desarrollo en internet online

PARADOJA pues les dejo el swf y el fla

Citar            
MensajeEscrito el 03 Oct 2006 11:22 pm

Por flashermx

48 de clabLevel



 

Ciudad Guzman Jalisco Mexico

firefox
Citar            
MensajeEscrito el 04 Oct 2006 01:18 am
Basicamente.
Es posible
look =new(_root.algo+i);
en un for
adentro un with(look){
procedimientos;
}
pero si trace da
trace(look);
//mensaje _root.algo0
_root.algo1
_root.algo1
o
o
o
_root.algo48
_root.algo49
_root.algo50

Por flashermx

48 de clabLevel



 

Ciudad Guzman Jalisco Mexico

firefox
Citar            
MensajeEscrito el 04 Oct 2006 01:40 am

flashermx escribió:

:o hola tengo una paradoja usando el trace y el with es algo confuso mejor veanlo y diganme digabando si quieren por que no jala pero aunque trace marque lo contrario
http://raromon.webcindario.com/paradoja.swf
http://raromon.webcindario.com/paradoja.fla

Básicamente te falla por que colocas todos los attach en el depth 3 y por esta linea:
look = "_root.link"+i;
que en todo caso seria asi:
look = _root["link" + i];
aunque realmente no la necesitas...

Código :

var xM = 250;
var yM = 250;
for (var i = 0; i <= 50; i++) {
   attachMovie("link", "link" + i, i);
   this["link" + i]._x = xM;
   this["link" + i]._y = yM;
   yM -= 10;
}

Por Zguillez

BOFH

10744 de clabLevel

85 tutoriales
17 articulos
3 ejemplos

Genero:Masculino   Bastard Operators From Hell Héroes Team Cristalab Editores

BCN

firefox
Citar            
MensajeEscrito el 07 Oct 2006 02:48 pm
:cool:

Por flashermx

48 de clabLevel



 

Ciudad Guzman Jalisco Mexico

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.