How do I execute this string in flashMX2004?
June 16, 2004 3:36 AM
Subscribe
How do I execute a string in flashMX2004?
say ive got the following code (simplified):
for(x=0;x<3 00;x++){br>
"mc"+x+".gotoAndPlay(10)"; // this is the string i want to execute
}
eval() does not do the trick
google doesn't help now can ask.metafilter?3>
That bit of code came out strange. Here it is again for your viewing pleasure:
for(x=0;x<3 00;x++){mc+x+.gotoandplay(10);}br>
i of course want to execute the string mc+x+.gotoAndPlay(10)3>
posted by FidelDonson to computers & internet (4 comments total)
posted by FidelDonson at 3:45 AM on June 16, 2004