In PHP there is a setcookie
function based to store it. In Flash is it possible ?.
If it is possible then how?
I want to store value.
Yes. Flash applications can store up to 100kb of data (by default) on a user's computer. This is stored in Flash cookies (Separate from browser cookies). Users can adjust how much applications can store by right clicking on a flash application and going to settings.
Here is the SharedObject API for AS3: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/SharedObject.html
You can get more info by googling "Flash SharedObject"
Make sure to be prepared to handle cases where a user does not let you put data into SharedObjects. This is becoming a popular trend among tech-savy users that are concerned about their privacy.
Good luck!