ayate
07-28-2008, 04:02 AM
Hi
I've been developing a small application in flash using AS2.0. Generally the application accepts user input for product type and sizes, calculate the costs and display output of those calculated costs. Then I used a php script (running on localhost) to store the calculated costs with other associated info, such as operator name, date of calculation, etc. into a flat text file. So each entry takes a line of calculated data in that text file. I used '&' as delimiter for fields of each record.
Now I need to include a search feature in my application. User will search among the stored data using certain keywords and if matching record[s] are found, then it should retrieve and display on flash application screen.
I'm not sure if flash can handle it internally (i.e. to use loadVariable() to load into flash app and then search text string[s], or should I search that text file using a PHP script. What would make more sense for this case? I've been stuck here for a while since I'm pretty new to AS and PHP.
I appreciate all your advice.
I've been developing a small application in flash using AS2.0. Generally the application accepts user input for product type and sizes, calculate the costs and display output of those calculated costs. Then I used a php script (running on localhost) to store the calculated costs with other associated info, such as operator name, date of calculation, etc. into a flat text file. So each entry takes a line of calculated data in that text file. I used '&' as delimiter for fields of each record.
Now I need to include a search feature in my application. User will search among the stored data using certain keywords and if matching record[s] are found, then it should retrieve and display on flash application screen.
I'm not sure if flash can handle it internally (i.e. to use loadVariable() to load into flash app and then search text string[s], or should I search that text file using a PHP script. What would make more sense for this case? I've been stuck here for a while since I'm pretty new to AS and PHP.
I appreciate all your advice.