I am using a system that uses LoadVars to grab data from php page (which in turn speaks to a MySQL database).
Currently, some of my functions use loadvars every time they’re loaded (so data is gathered from php/mysql multiple times during a session). However, I want certain data to be ‘downloaded’ once per session and then stored within the flash movie for the duration, so that once the data is retrieved, it doesn’t have to keep using server-side resources.
Basicly, I would like to hear some suggestions on the best way to store this data temporarily within flash. Also, is there any performance difference between using variables within a moveclip and using global variables. In addition, are there any benefits of flusing/nulling variables?