チェンジセット 1102
- コミット日時:
- 2008/08/27 18:16:47 (5 年前)
- ファイル:
-
- as3/gunyarapaint/trunk/gunyarapaint/src/gplogplayer.mxml (更新) (6 diffs)
- as3/gunyarapaint/trunk/gunyarapaint/src/gunyarapaint.mxml (更新) (1 diff)
- as3/gunyarapaint/trunk/nicopedia/gunyarapaint/Com.as (更新) (2 diffs)
- as3/gunyarapaint/trunk/picokakiko/src/picokakiko.mxml (更新) (2 diffs)
- as3/gunyarapaint/trunk/picokakiko/src/picoplayer.mxml (更新) (1 diff)
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
as3/gunyarapaint/trunk/gunyarapaint/src/gplogplayer.mxml
r1100 r1102 7 7 > 8 8 <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"/> 11 12 <mx:Canvas id="canvas" x="10" width="400" height="300" y="39" borderStyle="solid"></mx:Canvas> 12 13 … … 28 29 29 30 public function init():void { 30 //parameters['oelogUrl'] = 'http://nicowiki.suenaga.name:9999/oelog/136'; 31 //parameters['oekakiId'] = 136; 31 this.enabled = false; 32 32 33 33 if (parameters['oelogUrl']) { … … 46 46 } 47 47 playButton.addEventListener(FlexEvent.BUTTON_DOWN, playButtonHandler); 48 refButton.addEventListener(FlexEvent.BUTTON_DOWN, refButtonHandler); 48 49 playSpeedHSlider.addEventListener(SliderEvent.CHANGE, playSpeedHSliderHandler); 49 50 playSpeedHSlider.addEventListener(SliderEvent.THUMB_DRAG, playSpeedHSliderHandler); … … 85 86 } 86 87 } 88 this.enabled = true; 87 89 play(); 88 90 } … … 98 100 } 99 101 102 private function refButtonHandler(evt:Event):void { 103 Com.redirectOekakiForm(postUrl, oekakiId); 104 } 105 100 106 private function play():void { 101 107 playButton.enabled = false; … … 107 113 private function completePlayLogHandler(evt:Event):void { 108 114 playButton.enabled = true; 109 } 110 111 private function postPicoButtonHandler(evt:Event):void { 112 // Com.redirectOekakiForm(postUrl, oekakiId); 113 } 115 } 114 116 ]]> 115 117 </mx:Script> 116 <mx:Label x="313" y="11" text="ver.20080 40701"/>118 <mx:Label x="313" y="11" text="ver.2008050601"/> 117 119 </mx:Application> as3/gunyarapaint/trunk/gunyarapaint/src/gunyarapaint.mxml
r1101 r1102 10 10 </mx:Script> 11 11 <mx:Canvas id="toolCanvas" x="0" y="0" width="630"> 12 <mx:Label id="versionLabel" x="365" y="9" text="ver.20080 41701"/>12 <mx:Label id="versionLabel" x="365" y="9" text="ver.2008050601"/> 13 13 <mx:Label x="28" y="7" text="名前"/> 14 14 <mx:TextInput id="fromTextInput" x="55" y="3" maxChars="32" fontSize="14"/> as3/gunyarapaint/trunk/nicopedia/gunyarapaint/Com.as
r1099 r1102 32 32 private var errorStr:String; 33 33 34 public function Com() 35 { 34 public function Com() { 36 35 } 37 36 … … 72 71 r.method = URLRequestMethod.POST; 73 72 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; 74 84 75 85 navigateToURL(r, '_top'); as3/gunyarapaint/trunk/picokakiko/src/picokakiko.mxml
r1100 r1102 13 13 <mx:TextInput id="fromTextInput" x="61" y="3" maxChars="32" fontSize="14" width="154"/> 14 14 <mx:Label x="10" y="51" text="書き込み"/> 15 <mx:TextArea id="messageTextArea" x="61" y="3 0" width="557" height="62" fontSize="14">15 <mx:TextArea id="messageTextArea" x="61" y="31" width="557" height="62" fontSize="14"> 16 16 <mx:text></mx:text> 17 17 </mx:TextArea> 18 <mx:Label x="10" y="383" text="ver.20080 40701"/>18 <mx:Label x="10" y="383" text="ver.2008050601"/> 19 19 <mx:VDividedBox x="10" y="100" width="610" height="250"> 20 20 <mx:HBox> … … 39 39 <mx:Label x="160" y="358" text="ピコ音量"/> 40 40 <mx:Label x="446" y="383" text="Powered by FlMML & popforge"/> 41 <mx:Button id="postPicoButton" x="5 44" 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]"/> 42 42 <flmml:FlMML id="mml_player"/> 43 43 </mx:Application> as3/gunyarapaint/trunk/picokakiko/src/picoplayer.mxml
r1099 r1102 75 75 </mx:Script> 76 76 <mx:Label x="10" y="10" text="ピコカキコプレーヤ" fontSize="14"/> 77 <mx:Label x="203" y="14" text="ver.20080 40701"/>77 <mx:Label x="203" y="14" text="ver.2008050601"/> 78 78 </mx:Application>

