- コミット日時:
- 2010/03/28 17:36:41 (3 年前)
- ファイル:
-
- as3/gunyarapaint/branches/gunyarapaint/compat/assets/images (移動) (as3/gunyarapaint/branches/gunyarapaint/compat/imgs から 移動)
- as3/gunyarapaint/branches/gunyarapaint/compat/assets/images/gunyara-paint_logo.png (コピー) (as3/gunyarapaint/trunk/gunyarapaint/src/gunyara-paint_logo.png から コピー)
- as3/gunyarapaint/branches/gunyarapaint/compat/src/org/libspark/gunyarapaint/ui/v1/DataController.mxml (更新) (2 diffs)
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
as3/gunyarapaint/branches/gunyarapaint/compat/src/org/libspark/gunyarapaint/ui/v1/DataController.mxml
r3605 r3627 21 21 private function onSave():void 22 22 { 23 if (passwordTextArea.text.length > 0) {23 //if (passwordTextArea.text.length > 0) { 24 24 var bytes:ByteArray = new ByteArray(); 25 Application.application.save(bytes , passwordTextArea.text);25 Application.application.save(bytes); 26 26 createFileReferenceEvents(); 27 27 m_file.addEventListener(Event.SELECT, onSelectSave); 28 28 m_file.addEventListener(Event.COMPLETE, onSaveComplete); 29 29 m_file.save(bytes); 30 }31 else {32 Alert.show("パスワードが入力されていません", ALERT_TITLE);33 }30 //} 31 //else { 32 // Alert.show("パスワードが入力されていません", ALERT_TITLE); 33 //} 34 34 } 35 35 36 36 private function onLoad():void 37 37 { 38 if (passwordTextArea.text.length > 0) {38 //if (passwordTextArea.text.length > 0) { 39 39 createFileReferenceEvents(); 40 40 m_file.addEventListener(Event.SELECT, onSelectLoad); 41 41 m_file.addEventListener(Event.COMPLETE, onLoadComplete); 42 42 m_file.browse(); 43 }44 else {45 Alert.show("パスワードが入力されていません", ALERT_TITLE);46 }43 //} 44 //else { 45 // Alert.show("パスワードが入力されていません", ALERT_TITLE); 46 //} 47 47 } 48 48 … … 64 64 var bytes:ByteArray = file.data; 65 65 currentState = ""; 66 Application.application.load(bytes , passwordTextArea.text);66 Application.application.load(bytes); 67 67 removeFileReference(); 68 68 }

