root/as3/gunyarapaint/trunk/picokakiko/src/picokakiko.mxml

リビジョン 2083, 2.8 kB (コミッタ: tasuku, コミット時期: 4 年 前)

* version 2008120801

Line 
1 <?xml version="1.0" encoding="utf-8"?>
2 <mx:Application
3   xmlns:mx="http://www.adobe.com/2006/mxml"
4   xmlns:flmml="com.txt_nifty.sketch.flmml.*"
5   layout="absolute" width="630" height="404"
6   creationComplete="init()"
7   borderStyle="solid" cornerRadius="0" borderColor="#333333"
8   backgroundGradientAlphas="[1.0, 1.0]" backgroundGradientColors="[#D7D7D7, #FFFFFF]"
9   alpha="1.0">
10   <mx:Script source="picokakiko.as">
11   </mx:Script>
12   <mx:Label x="10" y="383" text="ver.2008120801"/>
13   <mx:Label x="28" y="7" text="名前"/>
14   <mx:TextInput id="fromTextInput" x="61" y="3" maxChars="32" fontSize="14" width="154"/>
15   <mx:CheckBox id="watchlistCheckBox" x="223" y="5" label="ウォッチリストに登録"/>
16   <mx:Label x="10" y="51" text="書き込み"/>
17   <mx:TextArea id="messageTextArea" x="61" y="31" width="557" height="62" fontSize="14">
18     <mx:text></mx:text>
19   </mx:TextArea>
20   <mx:TextInput id="jasracTextInput" x="61" y="95" maxChars="285" fontSize="14" width="355"/>
21   <mx:RegExpValidator source="{jasracTextInput}" property="text" flags="g"
22     required="false"
23     invalid="jasracInvalidHandler(event)">
24     <mx:expression><![CDATA[^([0-9][0-9A-Z][0-9]{6}\s)*([0-9][0-9A-Z][0-9]{6})$]]></mx:expression>
25   </mx:RegExpValidator>
26   <mx:Label x="14" y="127" text="タイトル"/>
27   <mx:TextInput id="titleTextInput" x="61" y="123" maxChars="64" fontSize="14" width="355"/>
28   <mx:Label text="JASRAC" x="10" y="93"/>
29   <mx:Label text="作品コード" x="10" y="103"/>
30   <mx:Label text="ハイフン無し 複数の場合にはスペース区切りで" x="419" y="101"/>
31   <mx:VDividedBox x="10" y="153" width="610" height="197">
32     <mx:HBox height="158">
33       <mx:VBox>
34         <mx:Label text="ピコ文字"/>
35         <mx:Label text="(MML)"/>
36       </mx:VBox>
37       <mx:TextArea id="mml" width="557" height="100%" fontSize="14" change="mmlChangeHandler(event)" fontFamily="_typewriter"/>
38     </mx:HBox>
39     <mx:HBox>
40       <mx:Label text="ピコ警告"/>
41       <mx:TextArea id="mml_warnings" width="557" height="100%" editable="false"/>
42     </mx:HBox>
43   </mx:VDividedBox>
44   <mx:Button id="playButton" label="ピコ再生" x="10" y="356"/>
45   <mx:Button id="stopButton" label="ピコ止め" x="85" y="356" enabled="false"/>
46   <mx:HSlider
47     id="hSlider" minimum="0" maximum="127" value="100"
48               dataTipPlacement="top" tickColor="black" snapInterval="1"
49               allowTrackClick="true" liveDragging="true"
50               change="mml_player.setMasterVolume(hSlider.value);" x="203" y="355" dataTipPrecision="0"/>
51   <mx:Label x="160" y="358" text="ピコ音量"/>
52   <mx:Label x="446" y="383" text="Powered by FlMML &amp; popforge"/>
53   <mx:Button id="postPicoButton" x="512" y="356" label="ピコカキコする!" enabled="false" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FF9999]"/>
54   <flmml:FlMML id="mml_player"/>
55 </mx:Application>
Note: リポジトリブラウザについてのヘルプは TracBrowser を参照してください。