actionscript 3 - Does sharedObject.getLocal work with Air for iOS? -


so, i've created save system game.the thing works fine on flash , air desktop, not air ios when wrap ios app.does sharedobject.getlocal work ios? if not, else can use?

yes, should work. if var mysharedobject.getlocal("game") not work, have corrupted system, or old version of ios. sure, post code you're using. also, make sure have correct render mode type of application.

2nd option: check memory. if don't have enough memory support sharedobject, won't store memory. test, add code:

if(mysharedobject.size != 0) { textfield.text = "works." }else{ textfield.text = "nowork." 

make textbox input called 'textfield' , sharedobject variable 'mysharedobject'.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -