home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
404 Jogos
/
CLJG.iso
/
Puzzle
/
filler.swf
/
scripts
/
_comboDropDownStyle.as
< prev
next >
Wrap
Text File
|
2008-09-02
|
1KB
|
42 lines
package
{
import mx.core.IFlexModuleFactory;
import mx.styles.CSSStyleDeclaration;
import mx.styles.StyleManager;
public class _comboDropDownStyle
{
public function _comboDropDownStyle()
{
super();
}
public static function init(param1:IFlexModuleFactory) : void
{
var style:CSSStyleDeclaration = null;
var fbs:IFlexModuleFactory = param1;
style = StyleManager.getStyleDeclaration(".comboDropDown");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration(".comboDropDown",style,false);
}
if(style.defaultFactory == null)
{
style.defaultFactory = function():void
{
this.fontWeight = "normal";
this.cornerRadius = 0;
this.dropShadowEnabled = true;
this.shadowDirection = "center";
this.borderThickness = 0;
this.shadowDistance = 1;
this.backgroundColor = 16777215;
};
}
}
}
}