Ver Mensaje Individual
  #1 (permalink)  
Antiguo 26/11/2008, 17:08
mecaenet
 
Fecha de Ingreso: noviembre-2008
Mensajes: 1
Antigüedad: 15 años, 5 meses
Puntos: 0
Problemas con una carga dinamica

Supongo que para los expertos esto es pan comido pero su servidor no haya el problema ya intente varias cosas y no puedo lograr que mi menu funcione cuando lo cargo dentro de otra pelicula que estara mal?
podria alguien ayudarme please. estoy muy
aqui esta el codigo gracias:

[COLOR="Green"]

info = new LoadVars();

info.onLoad = function( leido ){
if( leido ){
// Deserializamos la información
arr_datos = info.datos.split( '--o--' );
for( i = 0; i < arr_datos.length; i++ ){
arr_datos[ i ] = arr_datos[ i ].split( '--x--' );
}

// Definimos los parámetros generales de los botones

cantidad = 5
origen_y = 360;
ancho = 163;
espacio = ancho + 25;
limite = cantidad * espacio;


for( b = 0; b < arr_datos.length; b++ ){
// Sembramos los botones
ref = this.swapDepths(imagen);
ref_b = attachMovie( 'btn'+b, 'btn1' + b, getNextHighestDepth());
ref_b._x = espacio * b + 25;
ref_b._y = origen_y


//movimiento

vel = 0;
onEnterFrame = function ()
{
vel = int((_xmouse - 319) / -319 * 15);
};

// Asignamos el indice correspondiente al botón
ref_b.indice = b;
// Asignamos las acciones del botón
ref_b.onRelease = function(){
// Asignamos los textos
txt_artista.text = arr_datos[ this.indice ][ 0 ];
txt_album.text = arr_datos[ this.indice ][ 1 ];
txt_anio.text = arr_datos[ this.indice ][ 2 ];
// Cargamos la imagen
imagen.loadMovie( arr_datos[ this.indice ][ 3 ] );
}
}
}
}

info.load( 'datos_37.txt' );

NO encuentro el error.

[/COLOR
]