text file search in flash
text file search in flash
Out of context: Reply #1
- Started
- Last post
- 1 Response
- unfittoprint0
Best solution: transfer tha data to a MySQL database, use a PHP script to do the search then echo() the result to Flash using the LoadVars object.
Worst solution: use split() on the text file using the comma as a delimiter [myDB= myText.split(";")].
Then use a for loop to see if any of the array items match your search criteria.