开发者

Make sure Flex components are loaded at the beginning

How can I make sure all the components, even those that are 开发者_高级运维not going to be visible at the beginning, load right away when I start my application?

I have an application with a ViewStack whose visible child is set via a sidebar menu. Say the ViewStack has two children, A and B. A is initially visible, whereas B is not. How can I make sure they both load at the beginning, so that when I change to B I don't have to wait for it to load?


each of your viewstacks should have

creationPolicy = "all";

not sure if this can be set at the application level or not to control all children, but I know it works on viewstacks.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜