チェンジセット 2348
- コミット日時:
- 2009/03/16 22:34:29 (4 年前)
- ファイル:
-
- as3/gunyarapaint/trunk/ChangeLog (更新) (1 diff)
- as3/gunyarapaint/trunk/gunyarapaint/src/gplogplayer.mxml (更新) (1 diff)
- as3/gunyarapaint/trunk/gunyarapaint/src/gunyarapaint.as (更新) (6 diffs)
- as3/gunyarapaint/trunk/gunyarapaint/src/gunyarapaint.mxml (更新) (3 diffs)
- as3/gunyarapaint/trunk/nicopedia/org/libspark/nicopedia/Com.as (更新) (2 diffs)
- as3/gunyarapaint/trunk/picokakiko/src/picokakiko.mxml (更新) (2 diffs)
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
as3/gunyarapaint/trunk/ChangeLog
r2123 r2348 1 2009-03-16 Tasuku SUENAGA <a at razil.jp> 2 3 * gunyarapaint: �^�C�g���t�^ 4 * gunyarapaint: ���T�C�Y�p�̊���Callback���Č�B 5 * gunyarapaint: �o�[�W�����グ 6 * com: �^�C�g�����M 7 * pikokakiko: �o�[�W�����グ 8 1 9 2009-01-06 Tasuku SUENAGA <a at razil.jp> 2 10 as3/gunyarapaint/trunk/gunyarapaint/src/gplogplayer.mxml
r2084 r2348 168 168 ]]> 169 169 </mx:Script> 170 <mx:Label x="313" y="11" text="ver.200 8122101"/>170 <mx:Label x="313" y="11" text="ver.2009022601"/> 171 171 </mx:Application> as3/gunyarapaint/trunk/gunyarapaint/src/gunyarapaint.as
r1912 r2348 1 private const DEBUG:Boolean = false;1 private const DEBUG:Boolean = true; 2 2 3 3 import flash.display.InteractiveObject; … … 9 9 10 10 import mx.controls.Alert; 11 import mx.controls.TextInput;12 11 import mx.core.UIComponent; 13 12 import mx.core.UITextField; … … 70 69 gpLayerWindow.enabled = false; 71 70 71 // 関数 72 if (ExternalInterface.available && parameters['resizeFuncName']) { 73 try { 74 ExternalInterface.addCallback(this.resizeGunyaraPaint, parameters['resizeFuncName']); 75 } catch (e:SecurityError) { 76 } catch (e:Error) { 77 } 78 } 79 72 80 // キャンバス回転スライダ 73 81 canvasZoom.addEventListener(SliderEvent.CHANGE, canvasZoomHandler); … … 143 151 } 144 152 153 // ウィンドウ全体のリサイズ 154 private function resizeGunyaraPaint(w:int, h:int):void { 155 this.width = w; 156 this.height = h; 157 } 158 145 159 // ふっかつのじゅもんからの復活 146 160 … … 280 294 281 295 private function postOekakiButtonHandler(evt:Event):void { 296 if (titleTextInput.text == '') { 297 Alert.show('絵のタイトルが空です。', ALERT_TITLE); 298 return; 299 } 282 300 if (messageTextArea.text == '') { 283 Alert.show('書き込みが空です。 絵のタイトルなどの情報を書き込んでください。', ALERT_TITLE);301 Alert.show('書き込みが空です。', ALERT_TITLE); 284 302 return; 285 303 } … … 297 315 parameters['cookie'], 298 316 fromTextInput.text, 317 titleTextInput.text, 299 318 messageTextArea.text, 300 319 watchlistCheckBox.selected, as3/gunyarapaint/trunk/gunyarapaint/src/gunyarapaint.mxml
r2084 r2348 3 3 xmlns:mx="http://www.adobe.com/2006/mxml" 4 4 xmlns:gpcontrol="org.libspark.gunyarapaint.controls.*" 5 layout="absolute" width="688" height="5 48"5 layout="absolute" width="688" height="584" 6 6 creationComplete="init()" 7 7 applicationComplete="appComplete()" … … 11 11 <mx:Script source="gunyarapaint.as"> 12 12 </mx:Script> 13 <mx:Canvas id="toolCanvas" x="0" y="0" width="685" height="1 02">14 <mx:Label x=" 28" y="7" text="名前"/>13 <mx:Canvas id="toolCanvas" x="0" y="0" width="685" height="130"> 14 <mx:Label x="12" y="7" text="投稿者名"/> 15 15 <mx:TextInput id="fromTextInput" x="55" y="3" maxChars="32" fontSize="14" focusThickness="0"/> 16 <mx:Label x="2" y="36" text="絵のタイトル"/> 17 <mx:TextInput id="titleTextInput" x="55" y="32" maxChars="32" fontSize="14" focusThickness="0" width="406"/> 16 18 <mx:CheckBox id="watchlistCheckBox" x="223" y="7" label="ウォッチリストに登録"/> 17 <mx:Label x="10" y=" 51" text="書き込み"/>18 <mx:TextArea id="messageTextArea" x="55" y=" 33" width="406" height="61" fontSize="14" focusThickness="0">19 <mx:Label x="10" y="76" text="書き込み"/> 20 <mx:TextArea id="messageTextArea" x="55" y="61" width="406" height="61" fontSize="14" focusThickness="0"> 19 21 <mx:text></mx:text> 20 22 </mx:TextArea> … … 32 34 <mx:Button id="redoButton" x="555" y="36" label="リドゥ" enabled="false" paddingLeft="3" paddingRight="3"/> 33 35 </mx:Canvas> 34 <gpcontrol:PenDetailWindowControl id="penDetailWindow" x="9" y="1 26" layout="absolute" title="ペン">36 <gpcontrol:PenDetailWindowControl id="penDetailWindow" x="9" y="163" layout="absolute" title="ペン"> 35 37 </gpcontrol:PenDetailWindowControl> 36 <gpcontrol:GPCanvasWindowControl id="gpCanvasWindow" x="145" y="1 26" width="379" height="410" layout="absolute" title="キャンバス">38 <gpcontrol:GPCanvasWindowControl id="gpCanvasWindow" x="145" y="163" width="379" height="410" layout="absolute" title="キャンバス"> 37 39 </gpcontrol:GPCanvasWindowControl> 38 40 <mx:Button id="logPlayButton" x="601" y="101" label="ログプレイ" visible="false"/> 39 41 <mx:Button id="checkPngButton" x="601" y="131" label="同一check" visible="false"/> 40 <gpcontrol:GPLayerWindowControl x="532" y="2 24" layout="absolute" title="レイヤー" id="gpLayerWindow" height="312">42 <gpcontrol:GPLayerWindowControl x="532" y="261" layout="absolute" title="レイヤー" id="gpLayerWindow" height="312"> 41 43 </gpcontrol:GPLayerWindowControl> 42 <mx:Button id="windowsResetButton" x="10" y="1 01" label="ウィンドウ初期状態" width="99" paddingLeft="0" paddingRight="0" paddingTop="0" paddingBottom="0" height="17"/>43 <mx:Button id="passwordButton" x="117" y="1 01" label="ふっかつのじゅもん" width="99" paddingLeft="0" paddingRight="0" paddingTop="0" paddingBottom="0" height="17" enabled="false"/>44 <mx:Label id="versionLabel" x="580" y="1 01" text="ver.2008122101"/>44 <mx:Button id="windowsResetButton" x="10" y="138" label="ウィンドウ初期状態" width="99" paddingLeft="0" paddingRight="0" paddingTop="0" paddingBottom="0" height="17"/> 45 <mx:Button id="passwordButton" x="117" y="138" label="ふっかつのじゅもん" width="99" paddingLeft="0" paddingRight="0" paddingTop="0" paddingBottom="0" height="17" enabled="false"/> 46 <mx:Label id="versionLabel" x="580" y="138" text="ver.2009022601"/> 45 47 </mx:Application> as3/gunyarapaint/trunk/nicopedia/org/libspark/nicopedia/Com.as
r1891 r2348 92 92 93 93 public function postOekaki(parent:DisplayObject, url:String, magic:String, cookie:String, 94 name:String, msg:String, addWatchlist:Boolean,94 name:String, title:String, msg:String, addWatchlist:Boolean, 95 95 ref_oekaki_id:uint, data:Object, callback:Function):void { 96 96 try { … … 107 107 v.magic = magic; 108 108 v.FROM = name; 109 v.title = title; 109 110 v.MESSAGE = msg; 110 111 v.watchlist = addWatchlist ? 't' : ''; as3/gunyarapaint/trunk/picokakiko/src/picokakiko.mxml
r2233 r2348 10 10 <mx:Script source="picokakiko.as"> 11 11 </mx:Script> 12 <mx:Label x="10" y="383" text="ver.200902 1001"/>12 <mx:Label x="10" y="383" text="ver.2009022601"/> 13 13 <mx:Label x="28" y="7" text="名前"/> 14 14 <mx:TextInput id="fromTextInput" x="61" y="3" maxChars="32" fontSize="14" width="154"/> … … 50 50 change="mml_player.setMasterVolume(hSlider.value);" x="203" y="355" dataTipPrecision="0"/> 51 51 <mx:Label x="160" y="358" text="ピコ音量"/> 52 <mx:Label x="446" y="383" text="Powered by FlMML & popforge"/>52 <mx:Label x="446" y="383" text="Powered by FlMML"/> 53 53 <mx:Button id="postPicoButton" x="512" y="356" label="ピコカキコする!" enabled="false" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FF9999]"/> 54 54 <flmml:FlMML id="mml_player"/>

