I want my dynamic textbox, called scrollBox, to randomly load one of 5 text files (file1.txt, file2.txt etc) each time the flash file is opened...
Any ideas?
Use an array to hold the 5 or so files...
When loading the text file, use random() before you load the corresponding file in the array.
Or simply generate a random number added to the text+?.txt
before opening the file with the loadVariables action.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.