I am using the Director class and one of my scenes has about 10 options panels all composed of graphic panels and graphic buttons. When I arrive at the scene I display all these graphics off screen so I can animate them on when they are required.
I have a problem though that there is a significant delay when loading this scene.
I have seen the term “lazy loading” mentioned and wondered if rather than loading all these graphics up front, would it make sense to load them every time they are required.
And if so, would calling display.newImageRect for each image every time the image is required be inefficient or due to caching, would not have any adverse affects on performance?
Any advice much appreciated. [import]uid: 7863 topic_id: 7764 reply_id: 307764[/import]
