Simple splash screen implementation.
As splash screen should be not customizable, image used must be embded in your swf. ( no external customization is allowed ).
Example
var splash : fever.display.SplashScreen = fever.display.SplashScreen.getInstance(); splash.setBackgroundColor( 0xffffff ); splash.setBackgroundAlpha( 100 ); splash.setImage( "myImage" ); //image id defined in your swf ( embded ) splash.addFilter( FilterBuilder.getSoftShadowFilter() ); splash.show();
Feel free to extend it to define more complex splash screen.
static public function getInstance():SplashScreenReturns unique SplashScreen instance.
Useful to use always the same screen throw application life.