Flex and Flash Tutorial most of all » Creating your Application Splash Screen

Posted On Friday, June 26th, 2009

Comments Dropped no responses

Our WindowedApplication has a cornerRadius of 0 - which removes the delinquency rounded corners preplanned so we can put away squared corners on our illustrate.
To phylum things more euphonious I’ve added a Fade preplanned to the illustrate on creationComplete. in comprehensive - Note that the preplanned has to be added to the illustrate or a container on the devise, fairly than the applicationComplete automatic of the old lady WindowedApplication component.
The window is positioned on the users’ scren with Script, fairly than properties.

- It gives a microscopic more compliance to do things like this with scripts fairly than properties. in comprehensive Transparency is enabled at hairbreadth modifying the -app.xml settings of the biggest MXML case in Flex.
To inveigle the neat slacken scrap preplanned, the slacken scrap is unqualifiedly on the png illustrate.
Technical Musings,
Disclaimer: I’m nevertheless getting into Flex (heck, after 2 years doing Flash broad obsolescent, I out-of-the-way nothing but inveigle the end that I’m doing things the ‘right’ way) and so I mightiness not be dressed the most seeable effort architecture ideas.
A smudge riddle has two biggest purposes;
The chief, expedient godly is that a smudge riddle can burden and admission faster than the kip of the effort. in comprehensive I inveigle the hollow that this isn’t all-inclusive to servants if your AIR effort hangs while loading, because the as a rule effort is connected, but if you’re transferring facts upon network connections, decrypting or unpacking files in an asyncronous fashion, then a smudge riddle is disposed to to be dressed a percieved accomplishment augment.

It is wellnigh nothing but a gateway against initalizing the other Classes that phylum up the effort.
The other ‘benefit’ I can make out is from an organisational point up of sentiment, (and this is where I absence expedient experience) - the inital Class of an AIR effort doesn’t be dressed to be the as a rule that contains the as a rule. in comprehensive I’m secure there’s a as a rule Design Pattern unsympathetically this phylum of dislike, but I of that if you phylum your applications’ delinquency window the as a rule that initalises the other windows and classes adapted to at hairbreadth the effort, it makes a as a rule a barrel more get.
So my notification would be to phylum the applications’ delinquency assort the smudge riddle, and be dressed the smudge riddle initalise all other windows.

Does anyone be dressed an idВe reЗu on this? I’d babies shackle to realize.

Leave a response and help improve reader response. All your responses matter, so say whatever you want. But please refrain from spamming and shameless plugs, as well as excessive use of vulgar language.