开发者

Make sure Flex components are loaded at the beginning

开发者 https://www.devze.com 2022-12-15 05:11 出处:网络
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?

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

精彩评论

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