| 97 |
public var isOpenFileDialogWhenOpenPlayer:Boolean = false; |
public var isOpenFileDialogWhenOpenPlayer:Boolean = false; |
| 98 |
public var is184:Boolean = true; |
public var is184:Boolean = true; |
| 99 |
public var useDarkColor:Boolean = false; |
public var useDarkColor:Boolean = false; |
| 100 |
|
public var ownerCommentTextSize:int = 70; |
| 101 |
|
|
| 102 |
public static const RESIZE_TYPE_NICO:int = 1; |
public static const RESIZE_TYPE_NICO:int = 1; |
| 103 |
public static const RESIZE_TYPE_VIDEO:int = 2; |
public static const RESIZE_TYPE_VIDEO:int = 2; |
| 1260 |
this.useDarkColor = ConfUtil.parseBoolean(confValue); |
this.useDarkColor = ConfUtil.parseBoolean(confValue); |
| 1261 |
} |
} |
| 1262 |
|
|
| 1263 |
|
confValue = ConfigManager.getInstance().getItem("ownerCommentTextSize"); |
| 1264 |
|
if (confValue != null) |
| 1265 |
|
{ |
| 1266 |
|
var height:int = int(confValue); |
| 1267 |
|
|
| 1268 |
|
if (height >= 0) { |
| 1269 |
|
this.ownerCommentTextSize = height; |
| 1270 |
|
} |
| 1271 |
|
} |
| 1272 |
|
|
| 1273 |
}catch(error:Error){ |
}catch(error:Error){ |
| 1274 |
trace(error.getStackTrace()); |
trace(error.getStackTrace()); |
| 1275 |
Alert.show(Message.M_CONF_FILE_IS_BROKEN, Message.M_ERROR); |
Alert.show(Message.M_CONF_FILE_IS_BROKEN, Message.M_ERROR); |
| 1427 |
ConfigManager.getInstance().removeItem("useDarkColor"); |
ConfigManager.getInstance().removeItem("useDarkColor"); |
| 1428 |
ConfigManager.getInstance().setItem("useDarkColor", useDarkColor); |
ConfigManager.getInstance().setItem("useDarkColor", useDarkColor); |
| 1429 |
|
|
| 1430 |
|
ConfigManager.getInstance().removeItem("ownerCommentTextSize"); |
| 1431 |
|
ConfigManager.getInstance().setItem("ownerCommentTextSize", ownerCommentTextSize); |
| 1432 |
|
|
| 1433 |
ConfigManager.getInstance().save(); |
ConfigManager.getInstance().save(); |
| 1434 |
|
|
| 1435 |
}catch(error:Error){ |
}catch(error:Error){ |