home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
404 Jogos
/
CLJG.iso
/
Puzzle
/
HexiomConnect.swf
/
scripts
/
_headerDateTextStyle.as
< prev
next >
Wrap
Text File
|
2008-08-29
|
929b
|
36 lines
package
{
import mx.core.IFlexModuleFactory;
import mx.styles.CSSStyleDeclaration;
import mx.styles.StyleManager;
public class _headerDateTextStyle
{
public function _headerDateTextStyle()
{
super();
}
public static function init(param1:IFlexModuleFactory) : void
{
var fbs:IFlexModuleFactory = param1;
var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".headerDateText");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration(".headerDateText",style,false);
}
if(style.defaultFactory == null)
{
style.defaultFactory = function():void
{
this.fontWeight = "bold";
this.textAlign = "center";
};
}
}
}
}