| 191 |
|
|
| 192 |
protected function pubUserLinkButton_clickHandler(event:MouseEvent):void |
protected function pubUserLinkButton_clickHandler(event:MouseEvent):void |
| 193 |
{ |
{ |
| 194 |
var user:String = pubUserLinkButton.label; |
var url:String = pubUserLinkButton.label; |
| 195 |
if(user.length >= 5){ |
if(url != null && url.length > 1){ |
|
var url:String = "http://www.nicovideo.jp/" + user; |
|
| 196 |
navigateToURL(new URLRequest(url)); |
navigateToURL(new URLRequest(url)); |
| 197 |
}else{ |
}else{ |
| 198 |
|
|
| 373 |
</mx:Canvas> |
</mx:Canvas> |
| 374 |
</mx:TabNavigator> |
</mx:TabNavigator> |
| 375 |
</mx:Canvas> |
</mx:Canvas> |
| 376 |
<mx:Canvas label="投稿者" width="100%" height="100%" id="canvas_owner"> |
<mx:Canvas label="投稿者" width="100%" height="100%" id="canvas_owner" verticalScrollPolicy="off" horizontalScrollPolicy="off"> |
| 377 |
|
|
| 378 |
|
<mx:Canvas left="5" top="0" width="50" height="50" backgroundColor="#969696" |
| 379 |
|
contentBackgroundColor="#969696" dropShadowVisible="false"> |
| 380 |
|
<view:SmoothImage id="image_pubUserIcon" width="48" height="48" |
| 381 |
|
doubleClick="pubUserLinkButton_clickHandler(event)" |
| 382 |
|
doubleClickEnabled="true" top="1" left="1" |
| 383 |
|
source="{pubUserNameIconUrl}"/> |
| 384 |
|
</mx:Canvas> |
| 385 |
|
<mx:Label left="63" top="0" text="投稿者名:"/> |
| 386 |
|
<mx:Label id="label_pubUserName" left="133" right="5" top="0" |
| 387 |
|
text="{pubUserName}"/> |
| 388 |
|
<mx:LinkButton id="pubUserLinkButton" left="58" top="22" |
| 389 |
|
label="{pubUserLinkButtonText}" |
| 390 |
|
click="pubUserLinkButton_clickHandler(event)" |
| 391 |
|
color="#0000FF" textDecoration="underline" |
| 392 |
|
toolTip="投稿者のユーザーページを既定のブラウザで開きます"/> |
| 393 |
|
|
| 394 |
<mx:VDividedBox left="0" top="50" bottom="0" right="0"> |
<mx:VDividedBox left="0" top="50" bottom="0" right="0"> |
| 395 |
<mx:TabNavigator width="100%" height="180"> |
<mx:TabNavigator width="100%" height="180"> |
| 396 |
<mx:Canvas id="canvas_owner_onNico" label="ニコニコ" width="100%" height="100%"> |
<mx:Canvas id="canvas_owner_onNico" label="ニコニコ" width="100%" height="100%"> |
| 408 |
</mx:columns> |
</mx:columns> |
| 409 |
</mx:DataGrid> |
</mx:DataGrid> |
| 410 |
</mx:VDividedBox> |
</mx:VDividedBox> |
|
|
|
|
<mx:Canvas left="5" top="0" width="50" height="50" backgroundColor="#969696" |
|
|
contentBackgroundColor="#969696" dropShadowVisible="false"> |
|
|
<view:SmoothImage id="image_pubUserIcon" width="48" height="48" |
|
|
doubleClick="pubUserLinkButton_clickHandler(event)" |
|
|
doubleClickEnabled="true" top="1" left="1" |
|
|
source="{pubUserNameIconUrl}"/> |
|
|
</mx:Canvas> |
|
|
<mx:Label left="63" top="0" text="投稿者名:"/> |
|
|
<mx:Label id="label_pubUserName" left="133" right="5" top="0" |
|
|
text="{pubUserName}"/> |
|
|
<mx:LinkButton id="pubUserLinkButton" left="58" top="22" |
|
|
label="{pubUserLinkButtonText}" |
|
|
click="pubUserLinkButton_clickHandler(event)" |
|
|
color="#0000FF" textDecoration="underline" |
|
|
toolTip="投稿者のユーザーページを既定のブラウザで開きます"/> |
|
|
|
|
|
|
|
| 411 |
</mx:Canvas> |
</mx:Canvas> |
| 412 |
<mx:Canvas label="オススメ" width="100%" height="100%" creationComplete="relationCanvasCreationCompleteHandler(event)"> |
<mx:Canvas label="オススメ" width="100%" height="100%" creationComplete="relationCanvasCreationCompleteHandler(event)"> |
| 413 |
<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> |