Ver Mensaje Individual
  #1 (permalink)  
Antiguo 13/01/2009, 16:13
Avatar de MoDoRrO
MoDoRrO
 
Fecha de Ingreso: septiembre-2005
Ubicación: Php+Flash+AS
Mensajes: 1.072
Antigüedad: 18 años, 6 meses
Puntos: 12
Tipos de Variables . solo conocedores

Hola Amigos, bueno, miren, resulta que tengo un codigo

Código:
var recibir_lv:LoadVars = new LoadVars();

recibir_lv.onLoad = function(event){
	hh = this.hora1;
	
}
_global.hhh=hh;  //esta linea e simportante
this['nodisponible'+hhh]._visible=false;
el cual, no funciona
la variable hora1 llega desde un .php, y si tiene contenido, ya que si la pongo en un Texto Dinamico, me da el valor 3
ok. si cambio el codigo por esto:
Código:
var recibir_lv:LoadVars = new LoadVars();

recibir_lv.onLoad = function(event){
	hh = this.hora1;
	
}
_global.hhh=3;  //esta linea e simportante
this['nodisponible'+hhh]._visible=false;
como ven,
cambie esto
_global.hhh=hh;

por esto

_global.hhh=3;

y asi, si me funciona, me desaparece la instancia.

me imagino, que antes de signarle un valor a dicha variable, tengo que asignarle primero un tipo de variable, o algo similar

si me pueden ayudar, se los agradeceria muchisimo

Gracias