RE: [Flashcoders] What is your policy on loading files?
Another factor to consider is the client's willingness to pay for bandwidth. (Assuming you have a client.) If they need to keep costs down then you probably should avoid preloading content that the user would need to drill down to, since the user may never see it. -- Andrew Murphy Interactive Media Developer amur...@delvinia.com Delvinia 370 King Street West, 5th Floor, Box 4 Toronto Canada M5V 1J9 P (416) 364-1455 ext. 232 F (416) 364-9830 W www.delvinia.com > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com > [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf > Of allandt bik-elliott (thefieldcomic.com) > Sent: Friday, January 15, 2010 5:35 AM > To: Flash Coders List > Subject: [Flashcoders] What is your policy on loading files? > > Hi guys > > I'm re-looking at my microsite building engine and rewriting > it for MVC but something is bothering me that i was hoping to > get a consensus on. > > How do you load your (micro)sites? Do you: > 1 load the entire site at the start by loading a single xml > file and trawling it for assets > 2 load the entire site at the start by loading a single xml > file plus loading a library file with all of your assets in > 3 load each page in using a separate xml file as it's needed > 4 load the homepage and start preloading the pages while the > user is on the homepage to cut down wait time for the pages > 5 load each view as it's used by the user? So if a link in a > page was clicked that created a popup in flash, flash would > load the assets for the popup when the link was clicked > 6 something else? > > if you have the time, i'd really appreciate your input > > thanks > a > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] What is your policy on loading files?
I agree with Glenn... it depends on size, particular example and is often a speculation before the project starts running. If this is going to be a micro-engine, why not add a set of modes and use one depending on site. However this would mean a lot of work and testing. Perhaps a more elastic approach could be using simple 0/1 flags in XML attributes saying whether the asset it defines should be loaded instantly or wait for a request. This would mean just handling two modes from the engine's perspective. g ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] What is your policy on loading files?
Have a look at Gaia framework for some ideas. Previously, I have loaded a sitemap XML and then loaded SWF's for pages on request. On another site which had quite a lot of animations and videos, I implemented an "intelligent" preloader that would look for assets in the sitemap and load these in the order which I thought was important - i.e. load stuff for the home page first, then work down the tree. The preloader was "interruptable" so you could insert a bunch of assets at the front of the queue if a page was requested before it's assets had loaded... I think a balance of loading some assets at start - people don't mind waiting for a bit of loading, but I think that seeing a loading bar every time you go to a page might not be much fun in this day and age - again, I guess that depends on the size of your assets I think it's probably dependent on the site - sorry allandt bik-elliott (thefieldcomic.com) wrote: Hi guys I'm re-looking at my microsite building engine and rewriting it for MVC but something is bothering me that i was hoping to get a consensus on. How do you load your (micro)sites? Do you: 1 load the entire site at the start by loading a single xml file and trawling it for assets 2 load the entire site at the start by loading a single xml file plus loading a library file with all of your assets in 3 load each page in using a separate xml file as it's needed 4 load the homepage and start preloading the pages while the user is on the homepage to cut down wait time for the pages 5 load each view as it's used by the user? So if a link in a page was clicked that created a popup in flash, flash would load the assets for the popup when the link was clicked 6 something else? if you have the time, i'd really appreciate your input thanks a ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] What is your policy on loading files?
My option is 5. Normally I load it as needed. And if it is predictable, then I consider to preload it in case it is somewhat heavy content. HTH Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of allandt bik-elliott (thefieldcomic.com) Sent: vrijdag 15 januari 2010 11:35 To: Flash Coders List Subject: [Flashcoders] What is your policy on loading files? Hi guys I'm re-looking at my microsite building engine and rewriting it for MVC but something is bothering me that i was hoping to get a consensus on. How do you load your (micro)sites? Do you: 1 load the entire site at the start by loading a single xml file and trawling it for assets 2 load the entire site at the start by loading a single xml file plus loading a library file with all of your assets in 3 load each page in using a separate xml file as it's needed 4 load the homepage and start preloading the pages while the user is on the homepage to cut down wait time for the pages 5 load each view as it's used by the user? So if a link in a page was clicked that created a popup in flash, flash would load the assets for the popup when the link was clicked 6 something else? if you have the time, i'd really appreciate your input thanks a ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.725 / Virus Database: 270.14.140/2621 - Release Date: 01/14/10 13:39:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders