2 Replies Latest reply on Sep 22, 2010 9:25 AM by aditi_bk

    Access multiple buttons in a loop??




      This is a continuation of my last question and I am hoping Ned will tell my what to do. I am really thankful for all your help so far...:) The problem now is that I need to access the buttons in the following format.


      img1._alpha = 100;


      I tried the following within the loop,


      ["img" + i]._alpha


      "img" + i._alpha


      both are incorrect. Can you please tell me how I can attach the i to img, so that I can call it within a loop??