9 Replies Latest reply on Sep 8, 2011 6:10 AM by Ron Colmen

    trace (itemtN[ji]) // undefined

    Ron Colmen Level 2

      Why am I getting 'undefined'?

       

      var itemtN:Array = [additem1, additem2, additem3];

      var itemzA:Array = ["RED", "GREEN", "WHITE"];

       

      for (ji=0; ji<fontzA.length; ji++){

          itemtN[ji].ivar=ji;

       

      itemtN[ji]..onRelease = function() {

      trace (itemtN[ji]) // undefined

      }