Some of this depends on which version of Flash or Animate you are using and which version of Actionscript you are using. In Actionscript there are two types of variable, local and global. A global variable is created outside of a function by declaring the variable name. If you do not give the variable a value, its initial value is void. Once declared, a global value exists throughout the time that the .swf is playing. Once the .swf is closed the variable and the value won’t exist. A local variable is declared inside a function and is private to that function. I other words, a local variable only exists in a single function and holds a value only while that function is running. You can set or change the value of variable at any point in the .swf. You can change the value of a local or global variable anywhere in the .swf including inside another function. Read the help files on variables to learn more. In order to save or send the values in variables you will need to have an internet connection. If the user is offline when they use the .swf, you will have to save the values to the user’s computer and then check for the values when the user goes back on line and then transmit the values. Look up the information that I gave you in my previous messages about local storage and transmitting information.
... View more