差分発生行の前後
無視リスト:
コミット日時:
2010/03/28 17:36:41 (3 年前)
コミッタ:
hkrn
ログメッセージ:

moved all images to assets/images

ファイル:

凡例:

変更無し
追加
削除
更新
コピー
移動
  • as3/gunyarapaint/branches/gunyarapaint/compat/src/org/libspark/gunyarapaint/ui/v1/DataController.mxml

    r3605 r3627  
    2121            private function onSave():void 
    2222            { 
    23                 if (passwordTextArea.text.length > 0) { 
     23                //if (passwordTextArea.text.length > 0) { 
    2424                    var bytes:ByteArray = new ByteArray(); 
    25                     Application.application.save(bytes, passwordTextArea.text); 
     25                    Application.application.save(bytes); 
    2626                    createFileReferenceEvents(); 
    2727                    m_file.addEventListener(Event.SELECT, onSelectSave); 
    2828                    m_file.addEventListener(Event.COMPLETE, onSaveComplete); 
    2929                    m_file.save(bytes); 
    30                
    31                 else { 
    32                     Alert.show("パスワードが入力されていません", ALERT_TITLE); 
    33                
     30                //
     31                //else { 
     32                //    Alert.show("パスワードが入力されていません", ALERT_TITLE); 
     33                //
    3434            } 
    3535             
    3636            private function onLoad():void 
    3737            { 
    38                 if (passwordTextArea.text.length > 0) { 
     38                //if (passwordTextArea.text.length > 0) { 
    3939                    createFileReferenceEvents(); 
    4040                    m_file.addEventListener(Event.SELECT, onSelectLoad); 
    4141                    m_file.addEventListener(Event.COMPLETE, onLoadComplete); 
    4242                    m_file.browse(); 
    43                
    44                 else { 
    45                     Alert.show("パスワードが入力されていません", ALERT_TITLE); 
    46                
     43                //
     44                //else { 
     45                //    Alert.show("パスワードが入力されていません", ALERT_TITLE); 
     46                //
    4747            } 
    4848             
     
    6464                var bytes:ByteArray = file.data; 
    6565                currentState = ""; 
    66                 Application.application.load(bytes, passwordTextArea.text); 
     66                Application.application.load(bytes); 
    6767                removeFileReference(); 
    6868            }