I have a flash object and when first shown its actionscript has a variable set to a value of 0. After the user clicks a button the variable is set to 1 and I initiate a page refresh. On that refresh I need the variable to retain that value of 1, not revert back to zero. When the user clicks on the button again the variable is incremented to 2, page refreshes etc... etc...
Is there any concept of ViewState in Flash / Actionscript