Develop and Download Open Source Software

Browse Subversion Repository

Diff of /NNDDv2/trunk/src/VideoInfoView.mxml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 487 by mineap, Sat Apr 9 13:16:04 2011 UTC revision 490 by mineap, Sun Apr 10 03:38:54 2011 UTC
# Line 10  Line 10 
10    
11          <mx:Script>          <mx:Script>
12                  <![CDATA[                  <![CDATA[
13                            import flash.net.navigateToURL;
14                            
15                          import mx.events.DropdownEvent;                          import mx.events.DropdownEvent;
16                          import mx.events.IndexChangedEvent;                          import mx.events.IndexChangedEvent;
17                                                    
# Line 167  Line 169 
169                                  if(connectionTypeText.text.length == 0){                                  if(connectionTypeText.text.length == 0){
170                                          connectionTypeText.text = "-";                                          connectionTypeText.text = "-";
171                                  }                                  }
172                                    if(messageServerUrlText.text.length == 0){
173                                            messageServerUrlText.text = "-";
174                                    }
175                                    if(economyModeText.text.length == 0) {
176                                            economyModeText.text = "-";
177                                    }
178                                    if(nickNameText.text.length == 0){
179                                            nickNameText.text = "-";
180                                    }
181                                    if(premiumText.text.length == 0){
182                                            premiumText.text = "-";
183                                    }
184                                    
185                            }
186    
187    
188                            protected function pubUserLinkButton_clickHandler(event:MouseEvent):void
189                            {
190                                    var user:String = pubUserLinkButton.label;
191                                    if(user.length >= 5){
192                                            var url:String = "http://www.nicovideo.jp/" + user;
193                                            navigateToURL(new URLRequest(url));
194                                    }else{
195                                            
196                                    }
197                          }                          }
198    
199                  ]]>                  ]]>
# Line 174  Line 201 
201    
202          <mx:Script source="org/mineap/nndd/view/VideoInfoView.as" />          <mx:Script source="org/mineap/nndd/view/VideoInfoView.as" />
203                    
204          <mx:Image id="image_thumbImg" left="5" top="2" scaleContent="true" height="70" click="button_goToWebClicked(event)"          <mx:Canvas left="5" top="2" width="90" height="70" backgroundColor="#969696"
205                            toolTip="クリックするとブラウザで動画を再生します" enabled="true" width="92" creationComplete="image_thumbImg_creationCompleteHandler(event)"/>                             contentBackgroundColor="#969696" dropShadowVisible="false">
206                            <mx:Image id="image_thumbImg" width="88" height="68" click="button_goToWebClicked(event)"
207                                      creationComplete="image_thumbImg_creationCompleteHandler(event)" enabled="true"
208                                      left="1" top="1" scaleContent="true" toolTip="クリックするとブラウザで動画を再生します"/>
209            </mx:Canvas>
210          <mx:ComboBox left="100" top="53" right="128" id="comboBox_mylist" dataProvider="{myListDataProvider}" close="comboBox_mylist_closeHandler(event)" height="20"></mx:ComboBox>          <mx:ComboBox left="100" top="53" right="128" id="comboBox_mylist" dataProvider="{myListDataProvider}" close="comboBox_mylist_closeHandler(event)" height="20"></mx:ComboBox>
211          <mx:Button id="button_mylist" right="74" top="53" width="50" height="20" label="追加"          <mx:Button id="button_mylist" right="74" top="53" width="50" height="20" label="追加"
212                             click="myListAddButtonClicked(event)" toolTip="ニコニコ動画のマイリストに動画を追加します"/>                             click="myListAddButtonClicked(event)" toolTip="ニコニコ動画のマイリストに動画を追加します"/>
# Line 319  Line 349 
349                                          </mx:TabNavigator>                                          </mx:TabNavigator>
350                                  </mx:Canvas>                                  </mx:Canvas>
351                                  <mx:Canvas label="投稿者" width="100%" height="100%" id="canvas_owner">                                  <mx:Canvas label="投稿者" width="100%" height="100%" id="canvas_owner">
352                                          <mx:VDividedBox left="0" top="0" bottom="0" right="0">                                          <mx:VDividedBox left="0" top="50" bottom="0" right="0">
353                                                  <mx:TabNavigator width="100%" height="200">                                                  <mx:TabNavigator width="100%" height="180">
354                                                          <mx:Canvas id="canvas_owner_onNico" label="ニコニコ" width="100%" height="100%">                                                          <mx:Canvas id="canvas_owner_onNico" label="ニコニコ" width="100%" height="100%">
355                                                                  <mx:TextArea id="textArea_owner_onNico" editable="false" wordWrap="true" left="0" top="0" bottom="0" right="0" htmlText="{owner_text_nico}" link="ownerTextLinkClicked(event)"/>                                                                  <mx:TextArea id="textArea_owner_onNico" editable="false" wordWrap="true" left="0" top="0" bottom="0" right="0" htmlText="{owner_text_nico}" link="ownerTextLinkClicked(event)"/>
356                                                          </mx:Canvas>                                                          </mx:Canvas>
# Line 336  Line 366 
366                                                          </mx:columns>                                                          </mx:columns>
367                                                  </mx:DataGrid>                                                  </mx:DataGrid>
368                                          </mx:VDividedBox>                                          </mx:VDividedBox>
369                                            
370                                            <mx:Canvas left="5" top="0" width="50" height="50" backgroundColor="#969696"
371                                                               contentBackgroundColor="#969696" dropShadowVisible="false">
372                                                    <mx:Image id="image_pubUserIcon" width="48" height="48"
373                                                                      doubleClick="pubUserLinkButton_clickHandler(event)"
374                                                                      doubleClickEnabled="true" top="1" left="1"
375                                                                      source="{pubUserNameIconUrl}"/>
376                                            </mx:Canvas>
377                                            <mx:Label left="63" top="0" text="投稿者名:"/>
378                                            <mx:Label id="label_pubUserName" left="133" right="5" top="0"
379                                                              text="{pubUserName}"/>
380                                            <mx:LinkButton id="pubUserLinkButton" left="58" top="22"
381                                                                       label="{pubUserLinkButtonText}"
382                                                                       click="pubUserLinkButton_clickHandler(event)"
383                                                                       color="#0000FF" textDecoration="underline"
384                                                                       toolTip="投稿者のユーザーページを既定のブラウザで開きます"/>
385                                            
386                                            
387                                  </mx:Canvas>                                  </mx:Canvas>
388                                  <mx:Canvas label="オススメ" width="100%" height="100%" creationComplete="relationCanvasCreationCompleteHandler(event)">                                  <mx:Canvas label="オススメ" width="100%" height="100%" creationComplete="relationCanvasCreationCompleteHandler(event)">
389                                          <mx:ComboBox left="0" top="0" width="120" dataProvider="{relationSortComboboxDataProvider}" id="combobox_relationSort" change="relationSortComboboxChange(event)"></mx:ComboBox>                                          <mx:ComboBox left="0" top="0" width="120" dataProvider="{relationSortComboboxDataProvider}" id="combobox_relationSort" change="relationSortComboboxChange(event)"></mx:ComboBox>
# Line 356  Line 404 
404                  </mx:Canvas>                  </mx:Canvas>
405                  <mx:Canvas width="100%" height="100%" label="接続情報" creationComplete="canvas1_creationCompleteHandler(event)">                  <mx:Canvas width="100%" height="100%" label="接続情報" creationComplete="canvas1_creationCompleteHandler(event)">
406                          <mx:Label left="10" top="10" text="動画種別:"/>                          <mx:Label left="10" top="10" text="動画種別:"/>
407                          <mx:Text y="10" left="83" right="5" text="{videoType}" id="videoTypeText"/>                          <mx:Label id="videoTypeText" left="83" right="5" top="10" text="{videoType}" truncateToFit="true" selectable="true"/>
408                                                    
409                          <mx:Label left="10" top="30" text="接続種別:"/>                          <mx:Label left="10" top="30" text="接続種別:"/>
410                          <mx:Text y="30" left="83" right="5" text="{connectionType}" id="connectionTypeText"/>                          <mx:Label id="connectionTypeText" left="83" right="5" top="30" text="{connectionType}" truncateToFit="true" selectable="true"/>
411                                                    
412                          <mx:Label left="10" top="50" text="動画サーバー:"/>                          <mx:Label left="10" top="50" text="動画サーバー:"/>
413                          <mx:Text y="50" left="107" right="5" text="{videoServerUrl}" id="videoServerUrlText"/>                          <mx:Label id="videoServerUrlText" left="107" right="5" top="50" text="{videoServerUrl}"  toolTip="{videoServerUrl}" truncateToFit="true" selectable="true"/>
414                            
415                            <mx:Label left="10" top="70" text="メッセージサーバー:"/>
416                            <mx:Label id="messageServerUrlText" left="143" right="5" top="70" text="{messageServerUrl}" toolTip="{messageServerUrl}" truncateToFit="true" selectable="true"/>
417                            
418                            <mx:Label left="10" top="90" text="エコノミーモード:"/>
419                            <mx:Label id="economyModeText" left="131" right="6" top="90" text="{economyMode}" truncateToFit="true" selectable="true"/>
420                            
421                            <mx:Label left="10" top="110" text="ニックネーム:"/>
422                            <mx:Label id="nickNameText" left="107" right="6" top="110" text="{nickName}" truncateToFit="true" selectable="true"/>
423                            
424                            <mx:Label left="10" top="130" text="プレミアム:"/>
425                            <mx:Label id="premiumText" left="95" right="6" top="130" text="{isPremium}" truncateToFit="true" selectable="true"/>
426                  </mx:Canvas>                  </mx:Canvas>
427                  <mx:Canvas label="設定" width="100%" height="100%">                  <mx:Canvas label="設定" width="100%" height="100%">
428                          <mx:Canvas label="設定" id="canvas_config" verticalScrollPolicy="on" left="0" top="0" bottom="0" right="0" creationComplete="configCanvasCreationCompleteHandler(event)"                          <mx:Canvas label="設定" id="canvas_config" verticalScrollPolicy="on" left="0" top="0" bottom="0" right="0" creationComplete="configCanvasCreationCompleteHandler(event)"

Legend:
Removed from v.487  
changed lines
  Added in v.490

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26