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;
}
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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/