Ver Mensaje Individual
  #1 (permalink)  
Antiguo 14/10/2011, 12:16
tatotatico
 
Fecha de Ingreso: mayo-2010
Mensajes: 2
Antigüedad: 14 años
Puntos: 0
1072: Problema de migración: y 3596: Definición de variable duplicada

Hola amigos estoy haciendo un juego y me tope con estos problemas reiteradamente: como en estos:

Warning: 3596: Definición de variable duplicada.
en la cual señala la siguiente linea:

Código HTML:
while (i <= 100)
            {
                
                _loc_1 = _loc_2[i];
                _loc_3[_loc_1] = this.data[i];
                var _loc_5:* = i + 1;
                i = _loc_5;
            }
            i = 0;
            while (i <= 50)
            {
                
                trace("data[" + i + "]" + "=" + "\"" + _loc_3[i] + "\"" + ";");
                var _loc_5:* = i + 1;
                i = _loc_5;
            }
tambien esta este error:
Warning: 1072: Problema de migración: String no es una clase dinámica. No se pueden agregar miembros dinámicamente a las instancias.

y señala la sigiente linea:

Código HTML:
  while (_loc_3)
            {
                
                _loc_5 = _loc_3;
                _loc_3 = _loc_3.m_next;
                if (this.m_destructionListener)
                {
                    this.m_destructionListener.SayGoodbyeShape(_loc_5);
                }
                _loc_5.DestroyProxy(this.m_broadPhase);
                b2Shape.Destroy(_loc_5, this.m_blockAllocator);
            }
            if (param1.m_prev)
            {
                param1.m_prev.m_next = param1.m_next;
            }
            if (param1.m_next)
            {
                param1.m_next.m_prev = param1.m_prev;
            }
            if (param1 == this.m_bodyList)
            {
                this.m_bodyList = param1.m_next;
            }
            var _loc_6:String = this;
            var _loc_7:* = this.m_bodyCount - 1;
            _loc_6.m_bodyCount = _loc_7;
            return;
        }// end function
Por favor ayudenme!
gracias