Menu

[r36]: / osmb / trunk / framework / MediaFrameworkAirTest / generated / _PanelStyle.as  Maximize  Restore  History

Download this file

66 lines (57 with data), 2.1 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
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.TitleBackground;
import mx.skins.halo.PanelSkin;
[ExcludeClass]
public class _PanelStyle
{
public static function init(fbs:IFlexModuleFactory):void
{
var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration("Panel");
if (!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration("Panel", style, false);
var effects:Array = style.mx_internal::effects;
if (!effects)
{
effects = style.mx_internal::effects = new Array();
}
effects.push("resizeEndEffect");
effects.push("resizeStartEffect");
}
if (style.defaultFactory == null)
{
style.defaultFactory = function():void
{
this.borderColor = 0xe2e2e2;
this.paddingLeft = 0;
this.roundedBottomCorners = false;
this.dropShadowEnabled = true;
this.resizeStartEffect = "Dissolve";
this.borderSkin = mx.skins.halo.PanelSkin;
this.statusStyleName = "windowStatus";
this.borderAlpha = 0.4;
this.borderStyle = "default";
this.paddingBottom = 0;
this.resizeEndEffect = "Dissolve";
this.paddingTop = 0;
this.borderThicknessRight = 10;
this.titleStyleName = "windowStyles";
this.cornerRadius = 4;
this.paddingRight = 0;
this.borderThicknessLeft = 10;
this.titleBackgroundSkin = mx.skins.halo.TitleBackground;
this.borderThickness = 0;
this.borderThicknessTop = 2;
this.backgroundColor = 0xffffff;
};
}
}
}
}
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.