home *** CD-ROM | disk | FTP | other *** search
- package
- {
- import com.gradientcomponents.GradientCanvas;
- import flash.accessibility.*;
- import flash.data.*;
- import flash.debugger.*;
- import flash.desktop.*;
- import flash.display.*;
- import flash.errors.*;
- import flash.events.*;
- import flash.external.*;
- import flash.filesystem.*;
- import flash.filters.*;
- import flash.geom.*;
- import flash.html.*;
- import flash.html.script.*;
- import flash.media.*;
- import flash.net.*;
- import flash.printing.*;
- import flash.profiler.*;
- import flash.system.*;
- import flash.text.*;
- import flash.ui.*;
- import flash.utils.*;
- import flash.xml.*;
- import mx.binding.*;
- import mx.controls.Image;
- import mx.controls.Label;
- import mx.core.UIComponentDescriptor;
- import mx.core.Window;
- import mx.core.mx_internal;
- import mx.events.PropertyChangeEvent;
- import mx.styles.*;
-
- public class ErrorSplashScreen extends Window
- {
- private var _639886837shufflrImage:Image;
-
- private var _documentDescriptor_:UIComponentDescriptor;
-
- private var _88844982outerDocument:ShufflrClient;
-
- public function ErrorSplashScreen()
- {
- this._documentDescriptor_ = new UIComponentDescriptor({
- "type":Window,
- "propertiesFactory":function():Object
- {
- return {"childDescriptors":[new UIComponentDescriptor({
- "type":GradientCanvas,
- "effects":["showEffect","hideEffect"],
- "stylesFactory":function():void
- {
- this.verticalCenter = "0";
- this.horizontalCenter = "0";
- this.topLeftRadius = 10;
- this.bottomLeftRadius = 10;
- this.bottomRightRadius = 10;
- this.topRightRadius = 10;
- this.fillColors = [0];
- this.fillAlphas = [0.9];
- this.borderThickness = 0;
- this.showEffect = "fadeIn";
- this.hideEffect = "fadeOut";
- },
- "propertiesFactory":function():Object
- {
- return {
- "width":500,
- "height":160,
- "colorsConfiguration":[1],
- "childDescriptors":[new UIComponentDescriptor({
- "type":Image,
- "id":"shufflrImage",
- "stylesFactory":function():void
- {
- this.top = "40";
- this.right = "80";
- },
- "propertiesFactory":function():Object
- {
- return {"source":"assets/images/logos/shufflr_top_left_30h.png"};
- }
- }),new UIComponentDescriptor({
- "type":Label,
- "stylesFactory":function():void
- {
- this.textAlign = "center";
- this.color = 8632129;
- this.fontFamily = "shufflrFont3";
- this.bottom = "40";
- this.horizontalCenter = "0";
- this.fontSize = 16;
- },
- "propertiesFactory":function():Object
- {
- return {"text":"Minimum Resolution required is 1024 X 768!"};
- }
- })]
- };
- }
- })]};
- }
- });
- super();
- mx_internal::_document = this;
- if(!this.styleDeclaration)
- {
- this.styleDeclaration = new CSSStyleDeclaration();
- }
- this.styleDeclaration.defaultFactory = function():void
- {
- this.horizontalAlign = "center";
- this.verticalAlign = "middle";
- this.verticalCenter = "0";
- this.horizontalCenter = "0";
- this.backgroundAlpha = 0;
- this.backgroundColor = 0;
- this.showFlexChrome = false;
- };
- this.resizable = false;
- this.type = "lightweight";
- this.systemChrome = "none";
- this.showGripper = false;
- this.showStatusBar = false;
- this.alwaysInFront = true;
- }
-
- public function set shufflrImage(param1:Image) : void
- {
- var _loc2_:Object = this._639886837shufflrImage;
- if(_loc2_ !== param1)
- {
- this._639886837shufflrImage = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"shufflrImage",_loc2_,param1));
- }
- }
-
- public function set outerDocument(param1:ShufflrClient) : void
- {
- var _loc2_:Object = this._88844982outerDocument;
- if(_loc2_ !== param1)
- {
- this._88844982outerDocument = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"outerDocument",_loc2_,param1));
- }
- }
-
- [Bindable(event="propertyChange")]
- public function get shufflrImage() : Image
- {
- return this._639886837shufflrImage;
- }
-
- [Bindable(event="propertyChange")]
- public function get outerDocument() : ShufflrClient
- {
- return this._88844982outerDocument;
- }
-
- override public function initialize() : void
- {
- mx_internal::setDocumentDescriptor(this._documentDescriptor_);
- super.initialize();
- }
- }
- }
-
-