Run an AS3 function only once
问题 I'm making an AIR app and I would like to know if it's possible to run a function only once ? If the user reboot his device and launch the app, the function won't be trigger again. Thank you for your answers, 回答1: Since you're using adobe AIR, you have a few options. Write a file that contains your save data. Using AIR you can write a data file to the user's machine. This is more permanent than SharedObject's, which for various reasons can not work or persist long term. You can actually