Array

Splash Screen

Must Read

How Cyber Monday Has Changed Our Holiday Shopping Culture

When you think about culture changes, you begin to realize that the good ones become permanent while the not-so-good...

The Best Personal Loans – Unsecured Debt Consolidation Products

Repaying loans from various institutions or lenders would truly be a burden, because aside from the amount borrowed, you...

Private Student Loan Consolidation – Tips on How to Do It

One way of getting out of debt especially when you have many different loans is to consolidate them. This...

Home Equity Loans: Alternative Lines of Credit

The juxtaposition of increasing interest rates and declining mortgage rates encourages borrowers to seek lines of credit other than...

Refinancing A Mobile Home Loan For A Person With Bad Credit – 5 Tips

For many, owning a mobile home means having the freedom to pick up and move their home wherever they...

How to Refinance Private Student Loans – 4 Ways

Refinance private student loans and save money, right? Those loans tend to be a burden. And they can take...
Admin
test

Adobe has made it very easy to add a splash screen to your application. A splash screen is an image that loads first and displays while the application is loading. There are several options for the display of this splash screen, but let’s look at a basic sample, which shows the splashScreenImage property being set to a .png image. Figure 6-10 shows a splash screen with the default settings:

<?xml version=”1.0″ encoding=”utf-8″?>
<s:Application xmlns:fx=”http://ns.adobe.com/mxml/2009″
xmlns:s=”library://ns.adobe.com/flex/spark”
splashScreenImage=”@Embed(‘happytoad.png’)”>
<fx:Declarations>
<!– Place non-visual elements (e.g., services, value objects) here –>
</fx:Declarations>
</s:Application>

Splash screen with splashScreenScaleMode set to none

There are also some options that can be set on the splash screen. Applying the splash ScreenMinimumDisplayTime and splashScreenScaleMode properties to the Application, ViewNavigatorApplication, or TabbedViewNavigatorApplication tags sets these options. The example below sets the display time to 3 seconds and the scale mode to stretch.

The available options for the splashScreenScaleMode property are letterbox, none, stretch, and zoom. Figure 6-11 shows a splash screen with the splashScreenScaleMode set to stretch:

<?xml version=”1.0″ encoding=”utf-8″?>
<s:Application xmlns:fx=”http://ns.adobe.com/mxml/2009″
xmlns:s=”library://ns.adobe.com/flex/spark”
splashScreenImage=”@Embed(‘happytoad.png’)”
splashScreenMinimumDisplayTime=”3000″
splashScreenScaleMode=”stretch”>
<fx:Declarations>
<!– Place non-visual elements (e.g., services, value objects) here –>
</fx:Declarations>
</s:Application>

Splash screen with splashScreenScaleMode set to stretch

Previous articlePlace Call
Next articleStageWebView

Latest News

Digital Marketing for Beginners

Digital marketing for starter, Let to basic learning about connecting with your audience in the right place...

What are 7 things poor people do that the rich don’t?

1. poor people watch TV in which people read books how many hours you spend in front of the TV and when...

Top 18 best small business ideas for beginners starting

A small business can be frightening and requires plenty of careful planning there are many small business ideas which can be beneficial...

Summer that makes you happy

We saw were already here I've been thinking about some of the things. I used to do with my husband even though...

4 Point to helpful tips specifically for caregivers

What you need to take a vacation. I know it sounds impossible creative and try to make it work for you almost...

More Articles Like This