A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Getting a textfield "name"&i?

  1. #1
    Last Ju-Jitsu Warrior
    Join Date
    Aug 2000
    Posts
    655
    I need to check 42 textfields from level0, they all are "re" and then their number between 1-42...

    I thought of (of course):
    for(i=1;i<43;i++) {
    if( "re"&i ... )
    ....
    }

    And of course it doesn't work...
    So how do I do this???

  2. #2
    Senior Member
    Join Date
    Dec 2000
    Posts
    515
    close but no cigar. here:

    for(i=1;i<43;i++) {
    if( _level0["re" + i] ... )
    ....
    }

  3. #3
    Last Ju-Jitsu Warrior
    Join Date
    Aug 2000
    Posts
    655
    Thanks!
    It worked!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center