Ver Mensaje Individual
  #6 (permalink)  
Antiguo 17/01/2010, 13:49
FercoDW
 
Fecha de Ingreso: enero-2010
Ubicación: Junin - Buenos Aires
Mensajes: 40
Antigüedad: 14 años, 3 meses
Puntos: 0
Respuesta: traduccion de as1 a as2

Dejame ver si te puedo ayudar aunque sea un poco...

FOTOGRMA 1

onClipEvent (load){ // Puse el fscommand en el 8 y puso esto antes, posiblemente te falte.
fscommand("fullscreen", "true");
fscommand("allowscale", "true");
tellTarget ("_root.Animate") {
gotoAndStop(1);
}
Countries = new array();
MyCount = 0;
Cur_Count = 0;
No_Tries = 0;
MYkeyb = new array();
Countries[1] = "España";
Countries[2] = "Francia";
etc...

MYkeyb[1] = "Q";
MYkeyb[2] = "W";
etc....

i = 0;



FOTOGRAMA 2


MyNewName = "Char" add Number(i+1);
MyOldName = "Char" add Number(i);
if (i < 26) {
for (j=1; j<=26; j++) {
_root.duplicateMovieClip(MyOldName, MyNewName, Number(i)+1); // Al poner el "duplicateMovieClip me puso automaticamente el _root.
}
MyOldPos = getProperty(MyOldName, _x);
setProperty(MyNewName, _x, Number(MyOldpos)+40);
set("_root." add MyNewName add ".MYChar", MyKEyb[i+1]);
if ((Number(i) == 10)) {
setProperty(MyNewName, _x, 39);
setProperty(MyNewName, _y, getProperty (MyOldName,_y )+ 40);
}
if ((Number(i) == 20)) {
setProperty(MyNewName, _x, 118);
setProperty(MyNewName, _y, getProperty (MyOldName,_y )+ 40);
}
}
i = Number(i)+1;
Random_Country = random(Countries.length);
Country_Name = Countries[Random_Country];


FOTOGRAMA3

if (i<=26) {
gotoAndPlay(2);
} else {
gotoAndPlay(4);
}


FOTOGRAMA 4

max = length(Country_Name);
c = 1;
NewCountry_Name = "";
for (l=1; l <= length(Country_Name); l++) {
if (not_yet_set.substring(Country_name,l,1) == " ") { // Segun flash 8 falta algo ahi no definido. El "substring" asi solo no lo soporta.
NewCountry_Name = NewCountry_Name add "1";
} else {
NewCountry_Name = NewCountry_Name add substring(Country_name,l,1);
MyCount = MyCount + 1;
}
}

FOTOGRAMA 5

for (c=2; c <= max; c++) {
_root.duplicateMovieClip("con" add (c-1), "Con" add c, c + 30);
if (not_yet_set.substring(NewCountry_name,c,1) == "1") {
setProperty("con" add c, _y, getProperty ( "con" add c,_y ) + 55);
setProperty("con" add c, _x, getProperty ("_root.Con1",_x ) - 35);
tellTarget ("con" add c) {
gotoAndStop(3);
}
} else {
setProperty("con" add c, _x, getProperty ( "con" add c,_x ) + 35);
}
}
stop();


Si hay algo mas, la verdad ni idea. Llevo poco trabajando en diseños website pero espero que lo que puse te arregle los problemas.

Saludos!!

PD: Seria bueno que pongas los errores que te tira.