package
{
import flash.display.Sprite;
import mx.core.IFlexModuleFactory;
import mx.core.mx_internal;
import mx.styles.CSSStyleDeclaration;
import mx.styles.StyleManager;
import mx.skins.halo.ApplicationBackground;
[ExcludeClass]
public class _ApplicationStyle
{
public static function init(fbs:IFlexModuleFactory):void
{
var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration("Application");
if (!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration("Application", style, false);
}
if (style.defaultFactory == null)
{
style.defaultFactory = function():void
{
this.paddingTop = 24;
this.paddingLeft = 24;
this.backgroundGradientAlphas = [1, 1];
this.horizontalAlign = "center";
this.paddingRight = 24;
this.backgroundImage = mx.skins.halo.ApplicationBackground;
this.paddingBottom = 24;
this.backgroundSize = "100%";
this.backgroundColor = 0x869ca7;
};
}
}
}
}