开发者

storing a value, when closing flash movie

开发者 https://www.devze.com 2023-03-26 08:18 出处:网络
I am using a timer in my flash movie. When I close the flash movie, I want to store the last currentCount value. Is there any predefined option available in as3.0.开发者_C百科 ?using SharedObject clas

I am using a timer in my flash movie. When I close the flash movie, I want to store the last currentCount value. Is there any predefined option available in as3.0.开发者_C百科 ?


using SharedObject class u can achieve that.

refer the below link.

http://www.republicofcode.com/tutorials/flash/as3sharedobject/


have you considered using flash cookies? how to use flash cookies in AS3


If this movie is online you could set and read cookies via php or asp. Create some php script to store and retrieve cookie values and then call it from actionscript.

0

精彩评论

暂无评论...
验证码 换一张
取 消