PDA

View Full Version : Variable life span limits


lazomilev
02-26-2008, 04:15 PM
I have a variable (an array) that gets filled with values based on user interaction.
After an estimated 1 hour, if left without interaction, this variable gets unset.
Is there a time limit for variables in Flash, and if there is, how can I work around it.
What I am trying to achieve is: people select sports results that get refreshed e very 10 sec from a XML, and watch only the ones they want to.
However, after 1 hour, their selection is cleared, the array with game ids is empty.

Any suggestions :confused:

xxneon
02-26-2008, 05:24 PM
as far as i know there is no internal time limit to variables that are stored in flash.. but as far as setting up a 1 hour timer .. setInterval and getTimer() would be the main things for that i would think.