チェンジセット 1102

差分発生行の前後
無視リスト:
コミット日時:
2008/08/27 18:16:47 (5 年前)
コミッタ:
tasuku
ログメッセージ:

r53@poppop (orig r52): tasuku | 2008-05-06 04:36:34 +0900
お絵かきの続きを書くボタンの追加

ファイル:

凡例:

変更無し
追加
削除
更新
コピー
移動
  • as3/gunyarapaint/trunk/gunyarapaint/src/gplogplayer.mxml

    r1100 r1102  
    77> 
    88  <mx:Button id="playButton" x="10" y="9" label="再生" enabled="false"/> 
    9   <mx:Label x="76" y="11" text="再生スピード"/> 
    10   <mx:HSlider id="playSpeedHSlider" x="139" y="8" minimum="1" maximum="64" snapInterval="7" value="15"/> 
     9  <mx:Label x="63" y="11" text="再生スピード"/> 
     10  <mx:HSlider id="playSpeedHSlider" x="116" y="8" minimum="1" maximum="64" snapInterval="7" value="15" width="107"/> 
     11  <mx:Button x="231" y="9" label="続きを描く" id="refButton"/> 
    1112  <mx:Canvas id="canvas" x="10" width="400" height="300" y="39" borderStyle="solid"></mx:Canvas> 
    1213 
     
    2829 
    2930  public function init():void { 
    30     //parameters['oelogUrl'] = 'http://nicowiki.suenaga.name:9999/oelog/136'; 
    31     //parameters['oekakiId'] = 136; 
     31    this.enabled = false; 
    3232     
    3333    if (parameters['oelogUrl']) { 
     
    4646    } 
    4747    playButton.addEventListener(FlexEvent.BUTTON_DOWN, playButtonHandler); 
     48    refButton.addEventListener(FlexEvent.BUTTON_DOWN, refButtonHandler); 
    4849    playSpeedHSlider.addEventListener(SliderEvent.CHANGE, playSpeedHSliderHandler); 
    4950    playSpeedHSlider.addEventListener(SliderEvent.THUMB_DRAG, playSpeedHSliderHandler); 
     
    8586      } 
    8687    } 
     88    this.enabled = true; 
    8789    play(); 
    8890  } 
     
    98100  } 
    99101   
     102  private function refButtonHandler(evt:Event):void { 
     103    Com.redirectOekakiForm(postUrl, oekakiId); 
     104  } 
     105   
    100106  private function play():void { 
    101107    playButton.enabled = false; 
     
    107113  private function completePlayLogHandler(evt:Event):void { 
    108114    playButton.enabled = true;     
    109   } 
    110      
    111   private function postPicoButtonHandler(evt:Event):void { 
    112     // Com.redirectOekakiForm(postUrl, oekakiId); 
    113   } 
     115  }     
    114116  ]]> 
    115117  </mx:Script> 
    116   <mx:Label x="313" y="11" text="ver.2008040701"/> 
     118  <mx:Label x="313" y="11" text="ver.2008050601"/> 
    117119</mx:Application> 
  • as3/gunyarapaint/trunk/gunyarapaint/src/gunyarapaint.mxml

    r1101 r1102  
    1010  </mx:Script> 
    1111  <mx:Canvas id="toolCanvas" x="0" y="0" width="630"> 
    12     <mx:Label id="versionLabel" x="365" y="9" text="ver.2008041701"/> 
     12    <mx:Label id="versionLabel" x="365" y="9" text="ver.2008050601"/> 
    1313    <mx:Label x="28" y="7" text="名前"/> 
    1414    <mx:TextInput id="fromTextInput" x="55" y="3" maxChars="32" fontSize="14"/> 
  • as3/gunyarapaint/trunk/nicopedia/gunyarapaint/Com.as

    r1099 r1102  
    3232    private var errorStr:String; 
    3333 
    34     public function Com() 
    35     { 
     34    public function Com() { 
    3635    } 
    3736 
     
    7271      r.method = URLRequestMethod.POST; 
    7372      v.mml_id = mml_id; 
     73       
     74      navigateToURL(r, '_top'); 
     75    } 
     76     
     77    public static function redirectOekakiForm(url:String, oekaki_id:uint):void { 
     78      var r:URLRequest = new URLRequest(); 
     79      var v:URLVariables = new URLVariables(); 
     80      r.url = url; 
     81      r.data = v; 
     82      r.method = URLRequestMethod.POST; 
     83      v.oekaki_id = oekaki_id; 
    7484       
    7585      navigateToURL(r, '_top'); 
  • as3/gunyarapaint/trunk/picokakiko/src/picokakiko.mxml

    r1100 r1102  
    1313  <mx:TextInput id="fromTextInput" x="61" y="3" maxChars="32" fontSize="14" width="154"/> 
    1414  <mx:Label x="10" y="51" text="書き込み"/> 
    15   <mx:TextArea id="messageTextArea" x="61" y="30" width="557" height="62" fontSize="14"> 
     15  <mx:TextArea id="messageTextArea" x="61" y="31" width="557" height="62" fontSize="14"> 
    1616    <mx:text></mx:text> 
    1717  </mx:TextArea> 
    18   <mx:Label x="10" y="383" text="ver.2008040701"/> 
     18  <mx:Label x="10" y="383" text="ver.2008050601"/> 
    1919  <mx:VDividedBox x="10" y="100" width="610" height="250"> 
    2020    <mx:HBox> 
     
    3939  <mx:Label x="160" y="358" text="ピコ音量"/> 
    4040  <mx:Label x="446" y="383" text="Powered by FlMML &amp; popforge"/> 
    41   <mx:Button id="postPicoButton" x="544" y="356" label="ピコカキコ" enabled="false"/> 
     41  <mx:Button id="postPicoButton" x="512" y="356" label="ピコカキコする!" enabled="false" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FF9999]"/> 
    4242  <flmml:FlMML id="mml_player"/> 
    4343</mx:Application> 
  • as3/gunyarapaint/trunk/picokakiko/src/picoplayer.mxml

    r1099 r1102  
    7575  </mx:Script> 
    7676  <mx:Label x="10" y="10" text="ピコカキコプレーヤ" fontSize="14"/> 
    77   <mx:Label x="203" y="14" text="ver.2008040701"/> 
     77  <mx:Label x="203" y="14" text="ver.2008050601"/> 
    7878</mx:Application>