package
{
import flash.display.Sprite;
import mx.core.IFlexModuleFactory;
import mx.core.mx_internal;
import mx.styles.CSSStyleDeclaration;
import mx.styles.StyleManager;
[ExcludeClass]
public class _AlertStyle
{
public static function init(fbs:IFlexModuleFactory):void
{
var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration("Alert");
if (!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration("Alert", style, false);
}
if (style.defaultFactory == null)
{
style.defaultFactory = function():void
{
this.paddingTop = 2;
this.borderColor = 0x869ca7;
this.paddingLeft = 10;
this.color = 0xffffff;
this.roundedBottomCorners = true;
this.paddingRight = 10;
this.backgroundAlpha = 0.9;
this.paddingBottom = 2;
this.borderAlpha = 0.9;
this.buttonStyleName = "alertButtonStyle";
this.backgroundColor = 0x869ca7;
};
}
}
}
}