How can we use the variables name, for example?

I use 9 textbox in my step. The names are similar, only difference is the last character. (s1_0, s1_1, s1_2,...). I am using these textbox in a loop. But I couldn't find the right typing... s1_ [i], (i) s1_ or s1_ {i} gives an error.

s1_0.text = 0
s1_1.text = 0
s1_2.text = 0
s1_3.text = 0
s1_4.text = 0
s1_5.text = 0
s1_6.text = 0
s1_7.text = 0

How can he do the shortest hits for this problem?

Use the operator [] table:

for (var i: uint = 0; i<>

This ["s1_" + i.ToString ()] .text = 0;

}

Tags: Adobe Animate

Similar Questions

Maybe you are looking for

  • iPod air icloud sere not icloud please Mr. ople

    iPod air icloud sere No. DM * K14icloud please ople sir lock without owner account activation < personal information under the direction of the host >

  • How to remove the keyboard on hp-dm1-4050us?

    My hp-dm1-4050us keyboard is broken, Enter/return back, space, up, down keys unresponsive, but all other keys work fine.  Drivers and other software solutions do not work, enough course that material is just kaput. I have a replacement keyboard, but

  • Windows7 screen and Boot manager.

    On the upgrade to Win7 Ultimate on startup, I get a Windows Boot Manager screen, which allows a choice. I used Msconfig and you can change the duration. Should it be set to 0 to avoid this unnecessary screen?

  • Hoe kan ik alle change op me n surfacetablet in het Nederlands will?

    How can I change the Dutch so that all pages are in Dutch and nt in English

  • need help foreach loop

    looking to run a loop foreach with 2 variables here$vmwareluns = get-content c:\netappluns.txt$igroup = get-content c:\igroup.txt{foreach ($lun to $vmwareluns)Add-nalunmap $lun $igroup}but failsdo I need a second loop here?each line in the Group must