【发布时间】:2012-11-04 18:13:37
【问题描述】:
第一次使用 adobe air 应用程序。不知道下面的代码有什么错误。它没有提醒“否”值。
请看,saveData() 和 getData() 来自这个question。
function check(){
var d1 = getData('item1');
var d2 = getData('item2');
if (d1 && d2) {
alert('yes');
} else {
alert('no');
}
}
saveData('item1','value1');
saveData('item2','value2');
// I know that its ridiculous to save the data and then reset it.
// But This is how the main code works. sorry.
air.EncryptedLocalStore.reset();
check();
【问题讨论】:
标签: actionscript-3 air adobe