Advanced Flash Components
Search!
Search!
Home >  Forum
  SearchSearch   
Loading too much images and slow loading

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> G Map
View previous topic :: View next topic  
Author Message
raphque
AFC Member


Joined: 05 Oct 2007
Posts: 4

PostPosted: Wed Dec 05, 2007 9:46 am    Post subject: Loading too much images and slow loading Reply with quote

For a project, I need to preload multiple depts of a map, to cache the images and do a smooth zoom. Eg. z=13 to z=19

The problem is, loading all those layers is very, very slow when it's the first time. I noticed that the first layer loads 71 images, whatever layer I start with. All the next layers that are loaded, load 23 images. It doesn't matter if I load from 13 to 19, or from 19 to 13. It's always the first layer being loaded that is the most heavy.

When I take into account the size of my movie and the fact that the images are 256x256 pixels large, I would need only 8 images per layer.
7 layers would mean 56 images, now I'm loading 209 images...

Is there a reason for this? Can I do something about it?
I don't need to pan, zoom or re-center after the final animation, so all the extra overhead is wasted.
Anyone has ideas or tips to improve this?
Back to top
View user's profile Send private message
dvs_code
AFC Team


Joined: 09 May 2006
Posts: 2131

PostPosted: Thu Dec 06, 2007 4:58 am    Post subject: Reply with quote

We preload additional column and row on each layer for pannig. Also first time it loads 4 layers: 2 layers on init and 2 layers when you zoom in. We will think of some methods or properties for you to change it, bu I can't promise it would be fast.
_________________
Dmitry Stolyarov
AFC Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> G Map All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group