开发者

storing a value, when closing flash movie

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜