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