eppyfone
asked on
Flash Actionscript : Remember STATE : ViewState : Pass variable
Hi
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
Thanks
E.
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
Thanks
E.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.