http://livedocs.macromedia.com/flex/2/langref/mx/core/ContainerCreationPolicy.html#ALL
The link above is for the page in the Language Reference that reads:
Avoid using this
creationPolicy because
it increases the startup time of your application.
There is usually no good reason to create components at startup
which the user cannot see.
If you are using this policy so that you can "push" data into
hidden components at startup, you should instead design your
application so that the data is stored in data variables
and components which are created later "pull" in this data,
via databinding or an initialize handler.Regarding John's statement that "There's a book somewhere here on best practices and performance/tuning to address issues like this."
I believe what John is referring to is:
BOOK: Building and Deploying Flex 2 Applications
CHAPTER 6: Improving Startup Performance
http://livedocs.macromedia.com/flex/2/docs/00001424.html
This chapter includes sections on:
This chapter should be required reading before setting creationPolicy="All" :-)
Regrettably setting creationPolicy="All" is the switch that turns off deferred creation. The only time this makes sense is for small, odd out applications in Flex.
For anything more involved, I found that as I started to use Cairngorm, the temptation to use creationPolicy="All" went away altogether :-)
hth,
g
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Software development tool | Software development | Software development services |
| Home design software | Software development company |
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___

