Reputation: 150
I have two strings. stringOne and stringTwo
I have code that I want to run for a variable named TXT
How can I do like...
for (stringOne and for stringTwo) {
TXT = stringOne (or) stringTwo;
...
stringOne or stringTwo = TXT;
}
Upvotes: 0
Views: 29
Reputation: 1563
You have to take those two strings in an array and use foreach to do some actions on the strings.
see this.
http://www.barklund.org/blog/2009/05/21/for-each-in-loops-in-actionscript-3/
Upvotes: 2