5 Replies Latest reply on Sep 6, 2009 7:05 AM by kglad

    Variable inside 'for' loop with parenthesis

    Spacer98

      Hello all

       

      Coud someone tell me how Im going to put the i variable inside the [[[[ ]]]]] because I cant make it work

       

      for(var i:Number=0;i<products;i++){
        _root.menu["product"+i]._x += (product[[[[[+i]]]]]x-_root.menu.product["product"+i]._x)/speed;
      }

       

      Thanks!