| 89 |
public var isSmoothingOnlyNotPixelIdenticalDimensions:Boolean = true; |
public var isSmoothingOnlyNotPixelIdenticalDimensions:Boolean = true; |
| 90 |
public var playerQuality:int = 2; |
public var playerQuality:int = 2; |
| 91 |
public var isFollowInfoViewHeight:Boolean = false; |
public var isFollowInfoViewHeight:Boolean = false; |
| 92 |
|
public var isNotPlayNicowari:Boolean = false; |
| 93 |
|
|
| 94 |
public static const RESIZE_TYPE_NICO:int = 1; |
public static const RESIZE_TYPE_NICO:int = 1; |
| 95 |
public static const RESIZE_TYPE_VIDEO:int = 2; |
public static const RESIZE_TYPE_VIDEO:int = 2; |
| 377 |
videoPlayer.setShowAlwaysNicowariArea(isShowAlwaysNicowariArea); |
videoPlayer.setShowAlwaysNicowariArea(isShowAlwaysNicowariArea); |
| 378 |
} |
} |
| 379 |
|
|
| 380 |
|
private function checkBoxIsNotPlayNicowariChanged(event:Event):void |
| 381 |
|
{ |
| 382 |
|
this.isNotPlayNicowari = this.checkBox_isNotPlayNicowari.selected; |
| 383 |
|
|
| 384 |
|
if (isNotPlayNicowari) |
| 385 |
|
{ |
| 386 |
|
playerController.stopNicowari(); |
| 387 |
|
videoPlayer.hideNicowariArea(); |
| 388 |
|
} |
| 389 |
|
else if (isShowAlwaysNicowariArea) |
| 390 |
|
{ |
| 391 |
|
videoPlayer.showNicowariArea(); |
| 392 |
|
} |
| 393 |
|
} |
| 394 |
|
|
| 395 |
public function setShowAlwaysNicowariArea(isShow:Boolean):void{ |
public function setShowAlwaysNicowariArea(isShow:Boolean):void{ |
| 396 |
if(this.checkBox_showAlwaysNicowariArea != null){ |
if(this.checkBox_showAlwaysNicowariArea != null){ |
| 397 |
this.checkBox_showAlwaysNicowariArea.selected = isShow; |
this.checkBox_showAlwaysNicowariArea.selected = isShow; |
| 809 |
|
|
| 810 |
checkbox_followInfoViewHeight.selected = isFollowInfoViewHeight; |
checkbox_followInfoViewHeight.selected = isFollowInfoViewHeight; |
| 811 |
|
|
| 812 |
|
checkBox_isNotPlayNicowari.selected = isNotPlayNicowari; |
| 813 |
checkBox_showAlwaysNicowariArea.selected = isShowAlwaysNicowariArea; |
checkBox_showAlwaysNicowariArea.selected = isShowAlwaysNicowariArea; |
| 814 |
checkbox_hideTagArea.selected = isHideTagArea; |
checkbox_hideTagArea.selected = isHideTagArea; |
| 815 |
checkbox_hideUnderController.selected = isHideUnderController; |
checkbox_hideUnderController.selected = isHideUnderController; |
| 817 |
checkBox_enableJump.selected = isEnableJump; |
checkBox_enableJump.selected = isEnableJump; |
| 818 |
checkBox_askToUserOnJump.selected = isAskToUserOnJump; |
checkBox_askToUserOnJump.selected = isAskToUserOnJump; |
| 819 |
checkBox_askToUserOnJump.enabled = isEnableJump; |
checkBox_askToUserOnJump.enabled = isEnableJump; |
| 820 |
|
|
| 821 |
|
|
| 822 |
} |
} |
| 823 |
|
|
| 824 |
|
|
| 1152 |
isFollowInfoViewHeight = ConfUtil.parseBoolean(confValue); |
isFollowInfoViewHeight = ConfUtil.parseBoolean(confValue); |
| 1153 |
} |
} |
| 1154 |
|
|
| 1155 |
|
confValue = ConfigManager.getInstance().getItem("isNotPlayNicowari"); |
| 1156 |
|
if (confValue != null) |
| 1157 |
|
{ |
| 1158 |
|
isNotPlayNicowari = ConfUtil.parseBoolean(confValue); |
| 1159 |
|
} |
| 1160 |
|
|
| 1161 |
}catch(error:Error){ |
}catch(error:Error){ |
| 1162 |
trace(error.getStackTrace()); |
trace(error.getStackTrace()); |
| 1163 |
Alert.show(Message.M_CONF_FILE_IS_BROKEN, Message.M_ERROR); |
Alert.show(Message.M_CONF_FILE_IS_BROKEN, Message.M_ERROR); |
| 1291 |
ConfigManager.getInstance().removeItem("isFollowInfoViewHeight"); |
ConfigManager.getInstance().removeItem("isFollowInfoViewHeight"); |
| 1292 |
ConfigManager.getInstance().setItem("isFollowInfoViewHeight", isFollowInfoViewHeight); |
ConfigManager.getInstance().setItem("isFollowInfoViewHeight", isFollowInfoViewHeight); |
| 1293 |
|
|
| 1294 |
|
ConfigManager.getInstance().removeItem("isNotPlayNicowari"); |
| 1295 |
|
ConfigManager.getInstance().setItem("isNotPlayNicowari", isNotPlayNicowari); |
| 1296 |
|
|
| 1297 |
ConfigManager.getInstance().save(); |
ConfigManager.getInstance().save(); |
| 1298 |
|
|
| 1299 |
}catch(error:Error){ |
}catch(error:Error){ |