| 33 |
import mx.events.DragEvent; |
import mx.events.DragEvent; |
| 34 |
import mx.events.FlexEvent; |
import mx.events.FlexEvent; |
| 35 |
import mx.events.ListEvent; |
import mx.events.ListEvent; |
| 36 |
|
import mx.events.NumericStepperEvent; |
| 37 |
import mx.events.SliderEvent; |
import mx.events.SliderEvent; |
| 38 |
|
|
| 39 |
import org.mineap.nicovideo4as.model.SearchType; |
import org.mineap.nicovideo4as.model.SearchType; |
| 64 |
public var commentScale:Number = 1.0; |
public var commentScale:Number = 1.0; |
| 65 |
public var fps:Number = 15; |
public var fps:Number = 15; |
| 66 |
public var isShowOnlyPermissionComment:Boolean = false; |
public var isShowOnlyPermissionComment:Boolean = false; |
| 67 |
public var showCommentCount:int = 250; |
public var showCommentCountPerMin:int = 50; |
| 68 |
|
public var showOwnerCommentCountPerMin:int = 50; |
| 69 |
public var showCommentSec:int = 3; |
public var showCommentSec:int = 3; |
| 70 |
public var isAntiAlias:Boolean = true; |
public var isAntiAlias:Boolean = true; |
| 71 |
public var commentAlpha:int = 100; |
public var commentAlpha:int = 100; |
| 399 |
this.playerController.changeFps(this.fps); |
this.playerController.changeFps(this.fps); |
| 400 |
} |
} |
| 401 |
|
|
| 402 |
private function sliderShowCommentCountChanged(event:SliderEvent):void{ |
|
| 403 |
this.showCommentCount = event.value; |
private function commentCountNumStepperChanged(event:NumericStepperEvent):void |
| 404 |
|
{ |
| 405 |
|
this.showCommentCountPerMin = event.value; |
| 406 |
|
} |
| 407 |
|
|
| 408 |
|
private function ownerCommentCountNumStepperChanged(event:NumericStepperEvent):void |
| 409 |
|
{ |
| 410 |
|
this.showOwnerCommentCountPerMin = event.value; |
| 411 |
} |
} |
| 412 |
|
|
| 413 |
private function addNGListIdButtonClicked():void{ |
private function addNGListIdButtonClicked():void{ |
| 744 |
|
|
| 745 |
slider_commentScale.value = commentScale; |
slider_commentScale.value = commentScale; |
| 746 |
slider_fps.value = getValueByFps(fps); |
slider_fps.value = getValueByFps(fps); |
| 747 |
slider_showCommentCount.value = showCommentCount; |
|
| 748 |
|
commentNumStepper.value = showCommentCountPerMin; |
| 749 |
|
ownerCommentNumStepper.value = showOwnerCommentCountPerMin; |
| 750 |
|
|
| 751 |
slider_showCommentTime.value = showCommentSec; |
slider_showCommentTime.value = showCommentSec; |
| 752 |
slider_commentAlpha.value = commentAlpha; |
slider_commentAlpha.value = commentAlpha; |
| 753 |
|
|
| 887 |
if (confValue == null) { |
if (confValue == null) { |
| 888 |
//何もしない |
//何もしない |
| 889 |
}else{ |
}else{ |
| 890 |
showCommentCount = int(confValue); |
showCommentCountPerMin = int(confValue); |
| 891 |
|
} |
| 892 |
|
|
| 893 |
|
confValue = ConfigManager.getInstance().getItem("showOwnerCommentCount"); |
| 894 |
|
if (confValue == null) { |
| 895 |
|
showOwnerCommentCountPerMin = showCommentCountPerMin; |
| 896 |
|
}else{ |
| 897 |
|
showOwnerCommentCountPerMin = int(confValue); |
| 898 |
} |
} |
| 899 |
|
|
| 900 |
confValue = ConfigManager.getInstance().getItem("showCommentSec"); |
confValue = ConfigManager.getInstance().getItem("showCommentSec"); |
| 1153 |
ConfigManager.getInstance().setItem("isShowOnlyPermissionComment", isShowOnlyPermissionComment); |
ConfigManager.getInstance().setItem("isShowOnlyPermissionComment", isShowOnlyPermissionComment); |
| 1154 |
|
|
| 1155 |
ConfigManager.getInstance().removeItem("showCommentCount"); |
ConfigManager.getInstance().removeItem("showCommentCount"); |
| 1156 |
ConfigManager.getInstance().setItem("showCommentCount", showCommentCount); |
ConfigManager.getInstance().setItem("showCommentCount", showCommentCountPerMin); |
| 1157 |
|
|
| 1158 |
|
ConfigManager.getInstance().removeItem("showOwnerCommentCount"); |
| 1159 |
|
ConfigManager.getInstance().setItem("showOwnerCommentCount", showOwnerCommentCountPerMin); |
| 1160 |
|
|
| 1161 |
ConfigManager.getInstance().removeItem("showCommentSec"); |
ConfigManager.getInstance().removeItem("showCommentSec"); |
| 1162 |
ConfigManager.getInstance().setItem("showCommentSec", showCommentSec); |
ConfigManager.getInstance().setItem("showCommentSec", showCommentSec); |