mirror of
https://github.com/MapMakersAndProgrammers/alternativa-editor-mod.git
synced 2025-10-26 01:49:05 -07:00
1797 lines
85 KiB
ActionScript
1797 lines
85 KiB
ActionScript
package
|
|
{
|
|
import mx.core.IFlexModuleFactory;
|
|
import mx.core.UIComponent;
|
|
import mx.core.UITextField;
|
|
import mx.core.mx_internal;
|
|
import mx.skins.halo.ApplicationTitleBarBackgroundSkin;
|
|
import mx.skins.halo.BrokenImageBorderSkin;
|
|
import mx.skins.halo.BusyCursor;
|
|
import mx.skins.halo.DefaultDragImage;
|
|
import mx.skins.halo.HaloFocusRect;
|
|
import mx.skins.halo.ListDropIndicator;
|
|
import mx.skins.halo.StatusBarBackgroundSkin;
|
|
import mx.skins.halo.ToolTipBorder;
|
|
import mx.skins.halo.WindowCloseButtonSkin;
|
|
import mx.skins.halo.WindowMaximizeButtonSkin;
|
|
import mx.skins.halo.WindowMinimizeButtonSkin;
|
|
import mx.skins.halo.WindowRestoreButtonSkin;
|
|
import mx.skins.spark.AccordionHeaderSkin;
|
|
import mx.skins.spark.BorderSkin;
|
|
import mx.skins.spark.ButtonSkin;
|
|
import mx.skins.spark.CheckBoxSkin;
|
|
import mx.skins.spark.ComboBoxSkin;
|
|
import mx.skins.spark.ContainerBorderSkin;
|
|
import mx.skins.spark.DefaultButtonSkin;
|
|
import mx.skins.spark.EditableComboBoxSkin;
|
|
import mx.skins.spark.PanelBorderSkin;
|
|
import mx.skins.spark.ProgressBarSkin;
|
|
import mx.skins.spark.ProgressBarTrackSkin;
|
|
import mx.skins.spark.ProgressIndeterminateSkin;
|
|
import mx.skins.spark.ProgressMaskSkin;
|
|
import mx.skins.spark.ScrollBarDownButtonSkin;
|
|
import mx.skins.spark.ScrollBarThumbSkin;
|
|
import mx.skins.spark.ScrollBarTrackSkin;
|
|
import mx.skins.spark.ScrollBarUpButtonSkin;
|
|
import mx.skins.spark.StepperDecrButtonSkin;
|
|
import mx.skins.spark.StepperIncrButtonSkin;
|
|
import mx.skins.spark.TextInputBorderSkin;
|
|
import mx.styles.CSSCondition;
|
|
import mx.styles.CSSSelector;
|
|
import mx.styles.CSSStyleDeclaration;
|
|
import mx.styles.IStyleManager2;
|
|
import mx.utils.ObjectUtil;
|
|
import spark.skins.spark.ApplicationSkin;
|
|
import spark.skins.spark.ButtonSkin;
|
|
import spark.skins.spark.CheckBoxSkin;
|
|
import spark.skins.spark.DefaultButtonSkin;
|
|
import spark.skins.spark.ErrorSkin;
|
|
import spark.skins.spark.FocusSkin;
|
|
import spark.skins.spark.HScrollBarSkin;
|
|
import spark.skins.spark.PanelSkin;
|
|
import spark.skins.spark.ScrollerSkin;
|
|
import spark.skins.spark.SkinnableContainerSkin;
|
|
import spark.skins.spark.TextAreaSkin;
|
|
import spark.skins.spark.TitleWindowSkin;
|
|
import spark.skins.spark.VScrollBarSkin;
|
|
|
|
public class _AlternativaEditor_Styles
|
|
{
|
|
private static var _embed_css_Assets_swf_728414423_mx_skins_BoxDividerSkin_1000230805:Class = _class_embed_css_Assets_swf_728414423_mx_skins_BoxDividerSkin_1000230805;
|
|
|
|
private static var _embed_css_win_restore_up_png__736761895_2120219528:Class = _class_embed_css_win_restore_up_png__736761895_2120219528;
|
|
|
|
private static var _embed_css_win_min_over_png_1352175246_2117214847:Class = _class_embed_css_win_min_over_png_1352175246_2117214847;
|
|
|
|
private static var _embed_css_Assets_swf_728414423_CloseButtonDown_1138829611:Class = _class_embed_css_Assets_swf_728414423_CloseButtonDown_1138829611;
|
|
|
|
private static var _embed_css_win_close_up_png__1750166097_309569150:Class = _class_embed_css_win_close_up_png__1750166097_309569150;
|
|
|
|
private static var _embed_css_mac_close_down_png__476573661_30699662:Class = _class_embed_css_mac_close_down_png__476573661_30699662;
|
|
|
|
private static var _embed_css_mac_max_up_png_2014335472_887462691:Class = _class_embed_css_mac_max_up_png_2014335472_887462691;
|
|
|
|
private static var _embed_css_Assets_swf_728414423_mx_skins_cursor_DragCopy_277037173:Class = _class_embed_css_Assets_swf_728414423_mx_skins_cursor_DragCopy_277037173;
|
|
|
|
private static var _embed_css_Assets_swf_728414423_mx_skins_cursor_HBoxDivider_1844812792:Class = _class_embed_css_Assets_swf_728414423_mx_skins_cursor_HBoxDivider_1844812792;
|
|
|
|
private static var _embed_css_Assets_swf_728414423_mx_skins_cursor_DragLink_277299178:Class = _class_embed_css_Assets_swf_728414423_mx_skins_cursor_DragLink_277299178;
|
|
|
|
private static var _embed_css_mac_max_over_png__516178647_1898496680:Class = _class_embed_css_mac_max_over_png__516178647_1898496680;
|
|
|
|
private static var _embed_css_win_min_down_png__2044797092_465343185:Class = _class_embed_css_win_min_down_png__2044797092_465343185;
|
|
|
|
private static var _embed_css_win_max_down_png_1775744138_402971533:Class = _class_embed_css_win_max_down_png_1775744138_402971533;
|
|
|
|
private static var _embed_css_Assets_swf_728414423_mx_skins_cursor_BusyCursor_41142261:Class = _class_embed_css_Assets_swf_728414423_mx_skins_cursor_BusyCursor_41142261;
|
|
|
|
private static var _embed_css_win_max_over_png_877749180_1787411313:Class = _class_embed_css_win_max_over_png_877749180_1787411313;
|
|
|
|
private static var _embed_css_Assets_swf_728414423_mx_skins_cursor_VBoxDivider_544720310:Class = _class_embed_css_Assets_swf_728414423_mx_skins_cursor_VBoxDivider_544720310;
|
|
|
|
private static var _embed_css_Assets_swf_728414423___brokenImage_1187203851:Class = _class_embed_css_Assets_swf_728414423___brokenImage_1187203851;
|
|
|
|
private static var _embed_css_Assets_swf_728414423_mx_skins_cursor_DragReject_1210215361:Class = _class_embed_css_Assets_swf_728414423_mx_skins_cursor_DragReject_1210215361;
|
|
|
|
private static var _embed_css_Assets_swf_728414423_CloseButtonOver_974659645:Class = _class_embed_css_Assets_swf_728414423_CloseButtonOver_974659645;
|
|
|
|
private static var _embed_css_mac_close_up_png_1150873372_2050114321:Class = _class_embed_css_mac_close_up_png_1150873372_2050114321;
|
|
|
|
private static var _embed_css_Assets_swf_728414423_mx_skins_cursor_DragMove_277324753:Class = _class_embed_css_Assets_swf_728414423_mx_skins_cursor_DragMove_277324753;
|
|
|
|
private static var _embed_css_mac_min_over_png__41752581_1023914202:Class = _class_embed_css_mac_min_over_png__41752581_1023914202;
|
|
|
|
private static var _embed_css_mac_min_dis_png__703880867_400936850:Class = _class_embed_css_mac_min_dis_png__703880867_400936850;
|
|
|
|
private static var _embed_css_mac_min_down_png_856242377_1625405496:Class = _class_embed_css_mac_min_down_png_856242377_1625405496;
|
|
|
|
private static var _embed_css_win_max_dis_png__812766852_512792721:Class = _class_embed_css_win_max_dis_png__812766852_512792721;
|
|
|
|
private static var _embed_css_mac_close_over_png__1374568619_1213522700:Class = _class_embed_css_mac_close_over_png__1374568619_1213522700;
|
|
|
|
private static var _embed_css_win_min_dis_png__1490199446_689239761:Class = _class_embed_css_win_min_dis_png__1490199446_689239761;
|
|
|
|
private static var _embed_css_win_restore_over_png_1379106002_420516677:Class = _class_embed_css_win_restore_over_png_1379106002_420516677;
|
|
|
|
private static var _embed_css_win_min_up_png__1496565611_1904338868:Class = _class_embed_css_win_min_up_png__1496565611_1904338868;
|
|
|
|
private static var _embed_css_mac_max_down_png_381816311_1824039210:Class = _class_embed_css_mac_max_down_png_381816311_1824039210;
|
|
|
|
private static var _embed_css_mac_min_up_png_191367490_1536362603:Class = _class_embed_css_mac_min_up_png_191367490_1536362603;
|
|
|
|
private static var _embed_css_win_max_up_png_326402371_1936093294:Class = _class_embed_css_win_max_up_png_326402371_1936093294;
|
|
|
|
private static var _embed_css_Assets_swf_728414423_CloseButtonUp_98224972:Class = _class_embed_css_Assets_swf_728414423_CloseButtonUp_98224972;
|
|
|
|
private static var _embed_css_win_close_down_png__941728266_1862517095:Class = _class_embed_css_win_close_down_png__941728266_1862517095;
|
|
|
|
private static var _embed_css_win_restore_down_png__2017866336_395125171:Class = _class_embed_css_win_restore_down_png__2017866336_395125171;
|
|
|
|
private static var _embed_css_mac_max_dis_png__26448273_1865306912:Class = _class_embed_css_mac_max_dis_png__26448273_1865306912;
|
|
|
|
private static var _embed_css_win_close_over_png__1839723224_1256956523:Class = _class_embed_css_win_close_over_png__1839723224_1256956523;
|
|
|
|
private static var _embed_css_Assets_swf_728414423_CloseButtonDisabled_1455011819:Class = _class_embed_css_Assets_swf_728414423_CloseButtonDisabled_1455011819;
|
|
|
|
private static var _embed_css_gripper_up_png__745420807_1298477336:Class = _class_embed_css_gripper_up_png__745420807_1298477336;
|
|
|
|
public function _AlternativaEditor_Styles()
|
|
{
|
|
super();
|
|
}
|
|
|
|
public static function init(param1:IFlexModuleFactory) : void
|
|
{
|
|
var style:CSSStyleDeclaration = null;
|
|
var effects:Array = null;
|
|
var mergedStyle:CSSStyleDeclaration = null;
|
|
var fbs:IFlexModuleFactory = param1;
|
|
var styleManager:IStyleManager2 = fbs.getImplementation("mx.styles::IStyleManager2") as IStyleManager2;
|
|
var conditions:Array = null;
|
|
var condition:CSSCondition = null;
|
|
var selector:CSSSelector = null;
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = [];
|
|
condition = new CSSCondition("class","gripperSkin");
|
|
conditions.push(condition);
|
|
selector = new CSSSelector("",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration(".gripperSkin");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.upSkin = _embed_css_gripper_up_png__745420807_1298477336;
|
|
this.overSkin = _embed_css_gripper_up_png__745420807_1298477336;
|
|
this.downSkin = _embed_css_gripper_up_png__745420807_1298477336;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = [];
|
|
condition = new CSSCondition("class","macCloseButton");
|
|
conditions.push(condition);
|
|
selector = new CSSSelector("",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration(".macCloseButton");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.upSkin = _embed_css_mac_close_up_png_1150873372_2050114321;
|
|
this.overSkin = _embed_css_mac_close_over_png__1374568619_1213522700;
|
|
this.downSkin = _embed_css_mac_close_down_png__476573661_30699662;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = [];
|
|
condition = new CSSCondition("class","macMaxButton");
|
|
conditions.push(condition);
|
|
selector = new CSSSelector("",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration(".macMaxButton");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.upSkin = _embed_css_mac_max_up_png_2014335472_887462691;
|
|
this.overSkin = _embed_css_mac_max_over_png__516178647_1898496680;
|
|
this.downSkin = _embed_css_mac_max_down_png_381816311_1824039210;
|
|
this.disabledSkin = _embed_css_mac_max_dis_png__26448273_1865306912;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = [];
|
|
condition = new CSSCondition("class","macMinButton");
|
|
conditions.push(condition);
|
|
selector = new CSSSelector("",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration(".macMinButton");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.upSkin = _embed_css_mac_min_up_png_191367490_1536362603;
|
|
this.overSkin = _embed_css_mac_min_over_png__41752581_1023914202;
|
|
this.downSkin = _embed_css_mac_min_down_png_856242377_1625405496;
|
|
this.alpha = 0.5;
|
|
this.disabledSkin = _embed_css_mac_min_dis_png__703880867_400936850;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = [];
|
|
condition = new CSSCondition("class","statusTextStyle");
|
|
conditions.push(condition);
|
|
selector = new CSSSelector("",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration(".statusTextStyle");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.color = 5789784;
|
|
this.alpha = 0.6;
|
|
this.fontSize = 10;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = [];
|
|
condition = new CSSCondition("class","titleTextStyle");
|
|
conditions.push(condition);
|
|
selector = new CSSSelector("",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration(".titleTextStyle");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.color = 5789784;
|
|
this.alpha = 0.6;
|
|
this.fontSize = 9;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = [];
|
|
condition = new CSSCondition("class","winCloseButton");
|
|
conditions.push(condition);
|
|
selector = new CSSSelector("",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration(".winCloseButton");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.upSkin = _embed_css_win_close_up_png__1750166097_309569150;
|
|
this.overSkin = _embed_css_win_close_over_png__1839723224_1256956523;
|
|
this.downSkin = _embed_css_win_close_down_png__941728266_1862517095;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = [];
|
|
condition = new CSSCondition("class","winMaxButton");
|
|
conditions.push(condition);
|
|
selector = new CSSSelector("",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration(".winMaxButton");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.upSkin = _embed_css_win_max_up_png_326402371_1936093294;
|
|
this.downSkin = _embed_css_win_max_down_png_1775744138_402971533;
|
|
this.overSkin = _embed_css_win_max_over_png_877749180_1787411313;
|
|
this.disabledSkin = _embed_css_win_max_dis_png__812766852_512792721;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = [];
|
|
condition = new CSSCondition("class","winMinButton");
|
|
conditions.push(condition);
|
|
selector = new CSSSelector("",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration(".winMinButton");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.upSkin = _embed_css_win_min_up_png__1496565611_1904338868;
|
|
this.downSkin = _embed_css_win_min_down_png__2044797092_465343185;
|
|
this.overSkin = _embed_css_win_min_over_png_1352175246_2117214847;
|
|
this.disabledSkin = _embed_css_win_min_dis_png__1490199446_689239761;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = [];
|
|
condition = new CSSCondition("class","winRestoreButton");
|
|
conditions.push(condition);
|
|
selector = new CSSSelector("",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration(".winRestoreButton");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.upSkin = _embed_css_win_restore_up_png__736761895_2120219528;
|
|
this.downSkin = _embed_css_win_restore_down_png__2017866336_395125171;
|
|
this.overSkin = _embed_css_win_restore_over_png_1379106002_420516677;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("global",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("global");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.lineHeight = "120%";
|
|
this.unfocusedTextSelectionColor = 15263976;
|
|
this.kerning = "default";
|
|
this.caretColor = 92159;
|
|
this.iconColor = 1118481;
|
|
this.verticalScrollPolicy = "auto";
|
|
this.horizontalAlign = "left";
|
|
this.filled = true;
|
|
this.showErrorTip = true;
|
|
this.textDecoration = "none";
|
|
this.columnCount = "auto";
|
|
this.liveDragging = true;
|
|
this.dominantBaseline = "auto";
|
|
this.fontThickness = 0;
|
|
this.focusBlendMode = "normal";
|
|
this.blockProgression = "tb";
|
|
this.buttonColor = 7305079;
|
|
this.indentation = 17;
|
|
this.autoThumbVisibility = true;
|
|
this.textAlignLast = "start";
|
|
this.paddingTop = 0;
|
|
this.textAlpha = 1;
|
|
this.chromeColor = 13421772;
|
|
this.rollOverColor = 13556719;
|
|
this.bevel = true;
|
|
this.fontSize = 12;
|
|
this.shadowColor = 15658734;
|
|
this.columnGap = 20;
|
|
this.paddingLeft = 0;
|
|
this.paragraphEndIndent = 0;
|
|
this.fontWeight = "normal";
|
|
this.indicatorGap = 14;
|
|
this.focusSkin = HaloFocusRect;
|
|
this.breakOpportunity = "auto";
|
|
this.leading = 2;
|
|
this.symbolColor = 0;
|
|
this.renderingMode = "cff";
|
|
this.iconPlacement = "left";
|
|
this.borderThickness = 1;
|
|
this.paragraphStartIndent = 0;
|
|
this.layoutDirection = "ltr";
|
|
this.contentBackgroundColor = 16777215;
|
|
this.backgroundSize = "auto";
|
|
this.paragraphSpaceAfter = 0;
|
|
this.borderColor = 6908265;
|
|
this.shadowDistance = 2;
|
|
this.stroked = false;
|
|
this.digitWidth = "default";
|
|
this.verticalAlign = "top";
|
|
this.ligatureLevel = "common";
|
|
this.firstBaselineOffset = "auto";
|
|
this.fillAlphas = [0.6,0.4,0.75,0.65];
|
|
this.version = "4.0.0";
|
|
this.shadowDirection = "center";
|
|
this.fontLookup = "embeddedCFF";
|
|
this.lineBreak = "toFit";
|
|
this.repeatInterval = 35;
|
|
this.openDuration = 1;
|
|
this.paragraphSpaceBefore = 0;
|
|
this.fontFamily = "Arial";
|
|
this.paddingBottom = 0;
|
|
this.strokeWidth = 1;
|
|
this.lineThrough = false;
|
|
this.textFieldClass = UITextField;
|
|
this.alignmentBaseline = "useDominantBaseline";
|
|
this.trackingLeft = 0;
|
|
this.verticalGridLines = true;
|
|
this.fontStyle = "normal";
|
|
this.dropShadowColor = 0;
|
|
this.accentColor = 39423;
|
|
this.backgroundImageFillMode = "scale";
|
|
this.selectionColor = 11060974;
|
|
this.borderWeight = 1;
|
|
this.focusRoundedCorners = "tl tr bl br";
|
|
this.paddingRight = 0;
|
|
this.borderSides = "left top right bottom";
|
|
this.disabledIconColor = 10066329;
|
|
this.textJustify = "interWord";
|
|
this.focusColor = 7385838;
|
|
this.borderVisible = true;
|
|
this.selectionDuration = 250;
|
|
this.typographicCase = "default";
|
|
this.highlightAlphas = [0.3,0];
|
|
this.fillColor = 16777215;
|
|
this.showErrorSkin = true;
|
|
this.textRollOverColor = 0;
|
|
this.rollOverOpenDelay = 200;
|
|
this.digitCase = "default";
|
|
this.shadowCapColor = 14015965;
|
|
this.inactiveTextSelectionColor = 15263976;
|
|
this.backgroundAlpha = 1;
|
|
this.justificationRule = "auto";
|
|
this.roundedBottomCorners = true;
|
|
this.dropShadowVisible = false;
|
|
this.softKeyboardEffectDuration = 150;
|
|
this.trackingRight = 0;
|
|
this.fillColors = [16777215,13421772,16777215,15658734];
|
|
this.horizontalGap = 8;
|
|
this.borderCapColor = 9542041;
|
|
this.leadingModel = "auto";
|
|
this.selectionDisabledColor = 14540253;
|
|
this.closeDuration = 50;
|
|
this.embedFonts = false;
|
|
this.letterSpacing = 0;
|
|
this.focusAlpha = 0.55;
|
|
this.borderAlpha = 1;
|
|
this.baselineShift = 0;
|
|
this.focusedTextSelectionColor = 11060974;
|
|
this.fontSharpness = 0;
|
|
this.modalTransparencyDuration = 100;
|
|
this.justificationStyle = "auto";
|
|
this.contentBackgroundAlpha = 1;
|
|
this.borderStyle = "inset";
|
|
this.textRotation = "auto";
|
|
this.fontAntiAliasType = "advanced";
|
|
this.errorColor = 16646144;
|
|
this.direction = "ltr";
|
|
this.cffHinting = "horizontalStem";
|
|
this.horizontalGridLineColor = 16250871;
|
|
this.locale = "en";
|
|
this.cornerRadius = 2;
|
|
this.modalTransparencyColor = 14540253;
|
|
this.disabledAlpha = 0.5;
|
|
this.textIndent = 0;
|
|
this.verticalGridLineColor = 14015965;
|
|
this.themeColor = 7385838;
|
|
this.tabStops = null;
|
|
this.modalTransparency = 0.5;
|
|
this.smoothScrolling = true;
|
|
this.columnWidth = "auto";
|
|
this.textAlign = "start";
|
|
this.horizontalScrollPolicy = "auto";
|
|
this.textSelectedColor = 0;
|
|
this.interactionMode = "mouse";
|
|
this.whiteSpaceCollapse = "collapse";
|
|
this.fontGridFitType = "pixel";
|
|
this.horizontalGridLines = false;
|
|
this.fullScreenHideControlsDelay = 3000;
|
|
this.useRollOver = true;
|
|
this.repeatDelay = 500;
|
|
this.focusThickness = 2;
|
|
this.verticalGap = 6;
|
|
this.disabledColor = 11187123;
|
|
this.modalTransparencyBlur = 3;
|
|
this.slideDuration = 300;
|
|
this.color = 0;
|
|
this.fixedThumbSize = false;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = [];
|
|
condition = new CSSCondition("class","errorTip");
|
|
conditions.push(condition);
|
|
selector = new CSSSelector("",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration(".errorTip");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.fontWeight = "bold";
|
|
this.borderStyle = "errorTipRight";
|
|
this.paddingTop = 4;
|
|
this.borderColor = 13510953;
|
|
this.color = 16777215;
|
|
this.fontSize = 10;
|
|
this.shadowColor = 0;
|
|
this.paddingLeft = 4;
|
|
this.paddingBottom = 4;
|
|
this.paddingRight = 4;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = [];
|
|
condition = new CSSCondition("class","headerDragProxyStyle");
|
|
conditions.push(condition);
|
|
selector = new CSSSelector("",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration(".headerDragProxyStyle");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.fontWeight = "bold";
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = [];
|
|
condition = new CSSCondition("class","dateFieldPopup");
|
|
conditions.push(condition);
|
|
selector = new CSSSelector("",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration(".dateFieldPopup");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.backgroundColor = 16777215;
|
|
this.dropShadowVisible = true;
|
|
this.borderThickness = 1;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = [];
|
|
condition = new CSSCondition("class","swatchPanelTextField");
|
|
conditions.push(condition);
|
|
selector = new CSSSelector("",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration(".swatchPanelTextField");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.borderStyle = "inset";
|
|
this.borderColor = 14015965;
|
|
this.highlightColor = 12897484;
|
|
this.backgroundColor = 16777215;
|
|
this.shadowCapColor = 14015965;
|
|
this.shadowColor = 14015965;
|
|
this.paddingLeft = 5;
|
|
this.buttonColor = 7305079;
|
|
this.borderCapColor = 9542041;
|
|
this.paddingRight = 5;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = [];
|
|
condition = new CSSCondition("class","todayStyle");
|
|
conditions.push(condition);
|
|
selector = new CSSSelector("",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration(".todayStyle");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.color = 0;
|
|
this.textAlign = "center";
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = [];
|
|
condition = new CSSCondition("class","weekDayStyle");
|
|
conditions.push(condition);
|
|
selector = new CSSSelector("",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration(".weekDayStyle");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.fontWeight = "bold";
|
|
this.textAlign = "center";
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = [];
|
|
condition = new CSSCondition("class","windowStatus");
|
|
conditions.push(condition);
|
|
selector = new CSSSelector("",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration(".windowStatus");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.color = 6710886;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = [];
|
|
condition = new CSSCondition("class","windowStyles");
|
|
conditions.push(condition);
|
|
selector = new CSSSelector("",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration(".windowStyles");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.fontWeight = "bold";
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.controls.HTML",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.controls.HTML");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.borderStyle = "none";
|
|
this.layoutDirection = "ltr";
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.core.Window",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.core.Window");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.statusTextStyleName = "statusTextStyle";
|
|
this.borderStyle = "solid";
|
|
this.closeButtonSkin = WindowCloseButtonSkin;
|
|
this.buttonAlignment = "auto";
|
|
this.restoreButtonSkin = WindowRestoreButtonSkin;
|
|
this.borderColor = 10921638;
|
|
this.titleTextStyleName = "titleTextStyle";
|
|
this.backgroundColor = 16777215;
|
|
this.statusBarBackgroundSkin = StatusBarBackgroundSkin;
|
|
this.cornerRadius = 0;
|
|
this.gripperPadding = 3;
|
|
this.titleBarBackgroundSkin = ApplicationTitleBarBackgroundSkin;
|
|
this.backgroundAlpha = 1;
|
|
this.titleBarColors = [16777215,12237498];
|
|
this.titleBarButtonPadding = 5;
|
|
this.showFlexChrome = true;
|
|
this.roundedBottomCorners = false;
|
|
this.minimizeButtonSkin = WindowMinimizeButtonSkin;
|
|
this.statusBarBackgroundColor = 14540253;
|
|
this.maximizeButtonSkin = WindowMaximizeButtonSkin;
|
|
this.buttonPadding = 2;
|
|
this.highlightAlphas = [1,1];
|
|
this.titleAlignment = "auto";
|
|
this.gripperStyleName = "gripperSkin";
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.core.WindowedApplication",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.core.WindowedApplication");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.statusTextStyleName = "statusTextStyle";
|
|
this.borderStyle = "solid";
|
|
this.closeButtonSkin = WindowCloseButtonSkin;
|
|
this.buttonAlignment = "auto";
|
|
this.restoreButtonSkin = WindowRestoreButtonSkin;
|
|
this.borderColor = 10921638;
|
|
this.titleTextStyleName = "titleTextStyle";
|
|
this.backgroundColor = 16777215;
|
|
this.statusBarBackgroundSkin = StatusBarBackgroundSkin;
|
|
this.cornerRadius = 0;
|
|
this.gripperPadding = 3;
|
|
this.titleBarBackgroundSkin = ApplicationTitleBarBackgroundSkin;
|
|
this.backgroundAlpha = 1;
|
|
this.titleBarColors = [16777215,12237498];
|
|
this.titleBarButtonPadding = 5;
|
|
this.showFlexChrome = true;
|
|
this.roundedBottomCorners = false;
|
|
this.minimizeButtonSkin = WindowMinimizeButtonSkin;
|
|
this.statusBarBackgroundColor = 14540253;
|
|
this.maximizeButtonSkin = WindowMaximizeButtonSkin;
|
|
this.buttonPadding = 2;
|
|
this.highlightAlphas = [1,1];
|
|
this.titleAlignment = "auto";
|
|
this.gripperStyleName = "gripperSkin";
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.managers.CursorManager",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.managers.CursorManager");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.busyCursor = BusyCursor;
|
|
this.busyCursorBackground = _embed_css_Assets_swf_728414423_mx_skins_cursor_BusyCursor_41142261;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.managers.DragManager",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.managers.DragManager");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.copyCursor = _embed_css_Assets_swf_728414423_mx_skins_cursor_DragCopy_277037173;
|
|
this.moveCursor = _embed_css_Assets_swf_728414423_mx_skins_cursor_DragMove_277324753;
|
|
this.rejectCursor = _embed_css_Assets_swf_728414423_mx_skins_cursor_DragReject_1210215361;
|
|
this.linkCursor = _embed_css_Assets_swf_728414423_mx_skins_cursor_DragLink_277299178;
|
|
this.defaultDragImageSkin = DefaultDragImage;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.controls.SWFLoader",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.controls.SWFLoader");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.brokenImageSkin = _embed_css_Assets_swf_728414423___brokenImage_1187203851;
|
|
this.brokenImageBorderSkin = BrokenImageBorderSkin;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.controls.ToolTip",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.controls.ToolTip");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.borderStyle = "toolTip";
|
|
this.paddingTop = 2;
|
|
this.borderColor = 9542041;
|
|
this.backgroundColor = 16777164;
|
|
this.borderSkin = ToolTipBorder;
|
|
this.cornerRadius = 2;
|
|
this.fontSize = 10;
|
|
this.paddingLeft = 4;
|
|
this.paddingBottom = 2;
|
|
this.backgroundAlpha = 0.95;
|
|
this.paddingRight = 4;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("spark.components.Application",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("spark.components.Application");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.backgroundColor = 16777215;
|
|
this.skinClass = ApplicationSkin;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("spark.components.Button",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("spark.components.Button");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.skinClass = spark.skins.spark.ButtonSkin;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = [];
|
|
condition = new CSSCondition("class","emphasized");
|
|
conditions.push(condition);
|
|
selector = new CSSSelector("spark.components.Button",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("spark.components.Button.emphasized");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.skinClass = spark.skins.spark.DefaultButtonSkin;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("spark.components.CheckBox",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("spark.components.CheckBox");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.skinClass = spark.skins.spark.CheckBoxSkin;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("spark.components.HScrollBar",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("spark.components.HScrollBar");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.skinClass = HScrollBarSkin;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("spark.components.Panel",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("spark.components.Panel");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.borderColor = 0;
|
|
this.backgroundColor = 16777215;
|
|
this.dropShadowVisible = true;
|
|
this.skinClass = PanelSkin;
|
|
this.cornerRadius = 0;
|
|
this.borderAlpha = 0.5;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("spark.components.RichEditableText",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("spark.components.RichEditableText");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.layoutDirection = "ltr";
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("spark.components.Scroller",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("spark.components.Scroller");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.skinClass = ScrollerSkin;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("spark.components.supportClasses.SkinnableComponent",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("spark.components.supportClasses.SkinnableComponent");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.focusSkin = FocusSkin;
|
|
this.errorSkin = ErrorSkin;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("spark.components.SkinnableContainer",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("spark.components.SkinnableContainer");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.skinClass = SkinnableContainerSkin;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = [];
|
|
condition = new CSSCondition("pseudo","normalWithPrompt");
|
|
conditions.push(condition);
|
|
selector = new CSSSelector("spark.components.supportClasses.SkinnableTextBase",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("spark.components.supportClasses.SkinnableTextBase:normalWithPrompt");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.color = 12237498;
|
|
this.fontStyle = "italic";
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = [];
|
|
condition = new CSSCondition("pseudo","disabledWithPrompt");
|
|
conditions.push(condition);
|
|
selector = new CSSSelector("spark.components.supportClasses.SkinnableTextBase",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("spark.components.supportClasses.SkinnableTextBase:disabledWithPrompt");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.color = 12237498;
|
|
this.fontStyle = "italic";
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("spark.components.supportClasses.TextBase",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("spark.components.supportClasses.TextBase");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.layoutDirection = "ltr";
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("spark.components.TextArea",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("spark.components.TextArea");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.paddingTop = 5;
|
|
this.skinClass = TextAreaSkin;
|
|
this.paddingLeft = 3;
|
|
this.paddingBottom = 3;
|
|
this.paddingRight = 3;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("spark.components.TitleWindow",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("spark.components.TitleWindow");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.borderColor = 0;
|
|
this.dropShadowVisible = true;
|
|
this.skinClass = TitleWindowSkin;
|
|
this.cornerRadius = 0;
|
|
this.borderAlpha = 0.8;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("spark.components.VScrollBar",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("spark.components.VScrollBar");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.skinClass = VScrollBarSkin;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.containers.Accordion",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.containers.Accordion");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.borderStyle = "solid";
|
|
this.paddingTop = -1;
|
|
this.backgroundColor = 16777215;
|
|
this.borderSkin = BorderSkin;
|
|
this.verticalGap = -1;
|
|
this.paddingLeft = -1;
|
|
this.paddingBottom = -1;
|
|
this.paddingRight = -1;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.containers.accordionClasses.AccordionHeader",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.containers.accordionClasses.AccordionHeader");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.downSkin = null;
|
|
this.overSkin = null;
|
|
this.paddingTop = 0;
|
|
this.selectedDisabledSkin = null;
|
|
this.selectedUpSkin = null;
|
|
this.skin = AccordionHeaderSkin;
|
|
this.paddingLeft = 5;
|
|
this.paddingRight = 5;
|
|
this.upSkin = null;
|
|
this.selectedDownSkin = null;
|
|
this.textAlign = "start";
|
|
this.disabledSkin = null;
|
|
this.horizontalGap = 2;
|
|
this.paddingBottom = 0;
|
|
this.selectedOverSkin = null;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.controls.Alert",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.controls.Alert");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.paddingTop = 2;
|
|
this.paddingLeft = 10;
|
|
this.paddingBottom = 10;
|
|
this.paddingRight = 10;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.core.Application",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.core.Application");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.paddingTop = 24;
|
|
this.backgroundColor = 16777215;
|
|
this.horizontalAlign = "center";
|
|
this.paddingLeft = 24;
|
|
this.paddingBottom = 24;
|
|
this.paddingRight = 24;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.controls.Button",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.controls.Button");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.textAlign = "center";
|
|
this.labelVerticalOffset = 1;
|
|
this.emphasizedSkin = mx.skins.spark.DefaultButtonSkin;
|
|
this.verticalGap = 2;
|
|
this.horizontalGap = 2;
|
|
this.skin = mx.skins.spark.ButtonSkin;
|
|
this.paddingLeft = 6;
|
|
this.paddingRight = 6;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.controls.CheckBox",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.controls.CheckBox");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.icon = mx.skins.spark.CheckBoxSkin;
|
|
this.downSkin = null;
|
|
this.overSkin = null;
|
|
this.selectedDisabledSkin = null;
|
|
this.paddingTop = -1;
|
|
this.disabledIcon = null;
|
|
this.upIcon = null;
|
|
this.selectedDownIcon = null;
|
|
this.selectedUpSkin = null;
|
|
this.overIcon = null;
|
|
this.skin = null;
|
|
this.paddingLeft = 0;
|
|
this.paddingRight = 0;
|
|
this.upSkin = null;
|
|
this.fontWeight = "normal";
|
|
this.selectedDownSkin = null;
|
|
this.selectedUpIcon = null;
|
|
this.selectedOverIcon = null;
|
|
this.selectedDisabledIcon = null;
|
|
this.textAlign = "start";
|
|
this.labelVerticalOffset = 1;
|
|
this.disabledSkin = null;
|
|
this.horizontalGap = 3;
|
|
this.paddingBottom = -1;
|
|
this.selectedOverSkin = null;
|
|
this.downIcon = null;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.controls.ComboBase",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.controls.ComboBase");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.borderSkin = BorderSkin;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.controls.ComboBox",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.controls.ComboBox");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.paddingTop = -1;
|
|
this.dropdownStyleName = "comboDropdown";
|
|
this.leading = 0;
|
|
this.arrowButtonWidth = 18;
|
|
this.editableSkin = EditableComboBoxSkin;
|
|
this.skin = ComboBoxSkin;
|
|
this.paddingLeft = 5;
|
|
this.paddingBottom = -2;
|
|
this.paddingRight = 5;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = [];
|
|
condition = new CSSCondition("class","comboDropdown");
|
|
conditions.push(condition);
|
|
selector = new CSSSelector("mx.controls.List",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.controls.List.comboDropdown");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.fontWeight = "normal";
|
|
this.leading = 0;
|
|
this.dropShadowVisible = true;
|
|
this.paddingLeft = 5;
|
|
this.paddingRight = 5;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.core.Container",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.core.Container");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.borderStyle = "none";
|
|
this.borderSkin = ContainerBorderSkin;
|
|
this.cornerRadius = 0;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.containers.ControlBar",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.containers.ControlBar");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.disabledOverlayAlpha = 0;
|
|
this.borderStyle = "none";
|
|
this.paddingTop = 11;
|
|
this.verticalAlign = "middle";
|
|
this.paddingLeft = 11;
|
|
this.paddingBottom = 11;
|
|
this.paddingRight = 11;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.containers.DividedBox",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.containers.DividedBox");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.dividerThickness = 3;
|
|
this.dividerColor = 7305079;
|
|
this.dividerAffordance = 6;
|
|
this.verticalDividerCursor = _embed_css_Assets_swf_728414423_mx_skins_cursor_VBoxDivider_544720310;
|
|
this.dividerSkin = _embed_css_Assets_swf_728414423_mx_skins_BoxDividerSkin_1000230805;
|
|
this.horizontalDividerCursor = _embed_css_Assets_swf_728414423_mx_skins_cursor_HBoxDivider_1844812792;
|
|
this.dividerAlpha = 0.75;
|
|
this.verticalGap = 10;
|
|
this.horizontalGap = 10;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.containers.HDividedBox",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.containers.HDividedBox");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.dividerThickness = 3;
|
|
this.dividerColor = 7305079;
|
|
this.dividerAffordance = 6;
|
|
this.verticalDividerCursor = _embed_css_Assets_swf_728414423_mx_skins_cursor_VBoxDivider_544720310;
|
|
this.dividerSkin = _embed_css_Assets_swf_728414423_mx_skins_BoxDividerSkin_1000230805;
|
|
this.horizontalDividerCursor = _embed_css_Assets_swf_728414423_mx_skins_cursor_HBoxDivider_1844812792;
|
|
this.dividerAlpha = 0.75;
|
|
this.verticalGap = 10;
|
|
this.horizontalGap = 10;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.controls.Image",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.controls.Image");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.layoutDirection = "ltr";
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.controls.listClasses.ListBase",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.controls.listClasses.ListBase");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.borderStyle = "solid";
|
|
this.paddingTop = 2;
|
|
this.dropIndicatorSkin = ListDropIndicator;
|
|
this._creationPolicy = "auto";
|
|
this.paddingLeft = 2;
|
|
this.paddingBottom = 2;
|
|
this.paddingRight = 0;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.controls.NumericStepper",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.controls.NumericStepper");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.downArrowSkin = StepperDecrButtonSkin;
|
|
this.upArrowSkin = StepperIncrButtonSkin;
|
|
this.focusRoundedCorners = "tr br";
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.containers.Panel",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.containers.Panel");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.statusStyleName = "windowStatus";
|
|
this.borderStyle = "default";
|
|
this.borderColor = 0;
|
|
this.paddingTop = 0;
|
|
this.backgroundColor = 16777215;
|
|
this.cornerRadius = 0;
|
|
this.titleBackgroundSkin = UIComponent;
|
|
this.borderAlpha = 0.5;
|
|
this.paddingLeft = 0;
|
|
this.paddingRight = 0;
|
|
this.resizeEndEffect = "Dissolve";
|
|
this.titleStyleName = "windowStyles";
|
|
this.resizeStartEffect = "Dissolve";
|
|
this.dropShadowVisible = true;
|
|
this.borderSkin = PanelBorderSkin;
|
|
this.paddingBottom = 0;
|
|
};
|
|
}
|
|
effects = style.mx_internal::effects;
|
|
if(!effects)
|
|
{
|
|
effects = style.mx_internal::effects = [];
|
|
}
|
|
effects.push("resizeEndEffect");
|
|
effects.push("resizeStartEffect");
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.controls.ProgressBar",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.controls.ProgressBar");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.fontWeight = "bold";
|
|
this.leading = 0;
|
|
this.barSkin = ProgressBarSkin;
|
|
this.trackSkin = ProgressBarTrackSkin;
|
|
this.indeterminateMoveInterval = 14;
|
|
this.maskSkin = ProgressMaskSkin;
|
|
this.indeterminateSkin = ProgressIndeterminateSkin;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.controls.scrollClasses.ScrollBar",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.controls.scrollClasses.ScrollBar");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.thumbOffset = 0;
|
|
this.paddingTop = 0;
|
|
this.trackSkin = ScrollBarTrackSkin;
|
|
this.downArrowSkin = ScrollBarDownButtonSkin;
|
|
this.upArrowSkin = ScrollBarUpButtonSkin;
|
|
this.paddingLeft = 0;
|
|
this.paddingBottom = 0;
|
|
this.thumbSkin = ScrollBarThumbSkin;
|
|
this.paddingRight = 0;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.core.ScrollControlBase",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.core.ScrollControlBase");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.borderSkin = BorderSkin;
|
|
this.focusRoundedCorners = " ";
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = [];
|
|
condition = new CSSCondition("class","textAreaVScrollBarStyle");
|
|
conditions.push(condition);
|
|
selector = new CSSSelector("mx.controls.HScrollBar",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.controls.HScrollBar.textAreaVScrollBarStyle");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = [];
|
|
condition = new CSSCondition("class","textAreaHScrollBarStyle");
|
|
conditions.push(condition);
|
|
selector = new CSSSelector("mx.controls.VScrollBar",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.controls.VScrollBar.textAreaHScrollBarStyle");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.controls.TextInput",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.controls.TextInput");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.paddingTop = 2;
|
|
this.borderSkin = TextInputBorderSkin;
|
|
this.paddingLeft = 2;
|
|
this.paddingRight = 2;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.controls.TileList",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.controls.TileList");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.textAlign = "center";
|
|
this.verticalAlign = "middle";
|
|
this.paddingLeft = 2;
|
|
this.paddingRight = 2;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.containers.TitleWindow",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.containers.TitleWindow");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.closeButtonDisabledSkin = _embed_css_Assets_swf_728414423_CloseButtonDisabled_1455011819;
|
|
this.paddingTop = 4;
|
|
this.backgroundColor = 16777215;
|
|
this.dropShadowVisible = true;
|
|
this.closeButtonOverSkin = _embed_css_Assets_swf_728414423_CloseButtonOver_974659645;
|
|
this.closeButtonUpSkin = _embed_css_Assets_swf_728414423_CloseButtonUp_98224972;
|
|
this.closeButtonDownSkin = _embed_css_Assets_swf_728414423_CloseButtonDown_1138829611;
|
|
this.paddingLeft = 4;
|
|
this.paddingBottom = 4;
|
|
this.paddingRight = 4;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
selector = null;
|
|
conditions = null;
|
|
conditions = null;
|
|
selector = new CSSSelector("mx.containers.VDividedBox",conditions,selector);
|
|
mergedStyle = styleManager.getMergedStyleDeclaration("mx.containers.VDividedBox");
|
|
style = new CSSStyleDeclaration(selector,styleManager,mergedStyle == null);
|
|
if(style.defaultFactory == null)
|
|
{
|
|
style.defaultFactory = function():void
|
|
{
|
|
this.dividerThickness = 3;
|
|
this.dividerColor = 7305079;
|
|
this.dividerAffordance = 6;
|
|
this.verticalDividerCursor = _embed_css_Assets_swf_728414423_mx_skins_cursor_VBoxDivider_544720310;
|
|
this.dividerSkin = _embed_css_Assets_swf_728414423_mx_skins_BoxDividerSkin_1000230805;
|
|
this.horizontalDividerCursor = _embed_css_Assets_swf_728414423_mx_skins_cursor_HBoxDivider_1844812792;
|
|
this.dividerAlpha = 0.75;
|
|
this.verticalGap = 10;
|
|
this.horizontalGap = 10;
|
|
};
|
|
}
|
|
if(mergedStyle != null && (mergedStyle.defaultFactory == null || ObjectUtil.compare(new style.defaultFactory(),new mergedStyle.defaultFactory())))
|
|
{
|
|
styleManager.setStyleDeclaration(style.mx_internal::selectorString,style,false);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|