Re: [Flashcoders] Smart Preloading
it has to be one file... For now we'll use the solution of adding each level-compiledclip to a frame.. and making a loaderClass to see if the framesLoaded has eached the level yet.. when it's needed. Thanks for the replies - Original Message - From: "allandt bik-elliott (thefieldcomic.com)" To: "Flash Coders List" Sent: Friday, April 17, 2009 1:29 PM Subject: Re: [Flashcoders] Smart Preloading or you could add everything to an external library file and load that with your other assets On Fri, Apr 17, 2009 at 12:28 PM, allandt bik-elliott (thefieldcomic.com) < alla...@gmail.com> wrote: i must admit, i still add internal (non-added on frame 1) assets to a frame (after my preloader) and goto a frame after that when the xml, css, external assets etc are all loaded. It's probably frowned upon but it works and i've not found anything better a On Fri, Apr 17, 2009 at 8:07 AM, Dennis - I Sioux wrote: Hey Allandt, Thanks for your reply. I already found that one.. it was linked to from the earlier mentioned Greensock. Seems like that one can't load mc's from the library aswell.. I actually want to switch of the "load before 1st" .. and when entering a new level.. load the level clips..(if not already loaded). The UILoader mentions that it can load mc's aswell (at the source property).. but there isn't any example on how to do it.. and the logical ways aren't working. Thanks - Original Message - From: "allandt bik-elliott ( thefieldcomic.com)" To: "Flash Coders List" Sent: Thursday, April 16, 2009 5:42 PM Subject: Re: [Flashcoders] Smart Preloading there is something called bulkloader that i've seen used a few times but it might be a little surplus to requirements On Thu, Apr 16, 2009 at 3:56 PM, Glen Pike wrote: Sorry, it's a SWF preloader. As for preloading clips in the library, that's not what it's for.. Glen Dennis - I Sioux wrote: Hey Glen, Greensock isn't for preloading movieclips right? The swf's own movieclips in his library.. Or has it got an option for that? - Original Message - From: "Glen Pike" < g...@engineeredarts.co.uk > To: "Flash Coders List" Sent: Thursday, April 16, 2009 4:03 PM Subject: Re: [Flashcoders] Smart Preloading Hi, There are a couple of sequential preloaders out there on the web - I think greensock did on, but not 100% sure. It's possible that you can use these preload a list of movie clips in the background. I wrote my own before finding queuing loader before seeing the others, so I don't know if they implement the same functionality: to interrupt the preloading queue when a specific "level" is requested and put the loading of that to the front of the queue. If you are not stopping the things caching in the browser, you might take a small hit re-loading the required level if it has not reloaded, but that is all. HTH a bit Glen Dennis - I Sioux wrote: Hey, Tried to use a UILoader to check the bytes loaded of a single movieclip(in the library).. but this isn't working. Has anyone got a suggestion to check the loaded bytes of an mc? Thought the LoaderInfo only reffers to the mc's owner. Goal is to preload each game level seperately when it is needed.(if it hasn't loaded while playing the previous level yet). With kind regards, Dennis Isioux ___ 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 __ NOD32 4013 (20090416) Informatie __ Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem. http://www.nod32.nl ___ 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ NOD32 4015 (20090417) Informatie __ Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem. http://www.nod32.nl ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http:
Re: [Flashcoders] Smart Preloading
or you could add everything to an external library file and load that with your other assets On Fri, Apr 17, 2009 at 12:28 PM, allandt bik-elliott (thefieldcomic.com) < alla...@gmail.com> wrote: > i must admit, i still add internal (non-added on frame 1) assets to a frame > (after my preloader) and goto a frame after that when the xml, css, external > assets etc are all loaded. It's probably frowned upon but it works and i've > not found anything better > > a > > > On Fri, Apr 17, 2009 at 8:07 AM, Dennis - I Sioux wrote: > >> Hey Allandt, >> >> Thanks for your reply. >> >> I already found that one.. it was linked to from the earlier mentioned >> Greensock. >> Seems like that one can't load mc's from the library aswell.. >> >> I actually want to switch of the "load before 1st" .. and when entering a >> new level.. load the level clips..(if not already loaded). >> >> The UILoader mentions that it can load mc's aswell (at the source >> property).. but there isn't any example on how to do it.. and the logical >> ways aren't working. >> >> Thanks >> >> >> - Original Message - From: "allandt bik-elliott ( >> thefieldcomic.com)" >> To: "Flash Coders List" >> Sent: Thursday, April 16, 2009 5:42 PM >> >> Subject: Re: [Flashcoders] Smart Preloading >> >> >> there is something called bulkloader that i've seen used a few times but >>> it >>> might be a little surplus to requirements >>> >>> On Thu, Apr 16, 2009 at 3:56 PM, Glen Pike >> >wrote: >>> >>> Sorry, it's a SWF preloader. As for preloading clips in the library, >>>> that's not what it's for.. >>>> >>>> >>>> Glen >>>> >>>> Dennis - I Sioux wrote: >>>> >>>> Hey Glen, >>>>> >>>>> Greensock isn't for preloading movieclips right? >>>>> The swf's own movieclips in his library.. >>>>> >>>>> Or has it got an option for that? >>>>> >>>>> - Original Message - From: "Glen Pike" < >>>>> g...@engineeredarts.co.uk >>>>> > >>>>> To: "Flash Coders List" >>>>> Sent: Thursday, April 16, 2009 4:03 PM >>>>> Subject: Re: [Flashcoders] Smart Preloading >>>>> >>>>> >>>>> Hi, >>>>> >>>>>> >>>>>> There are a couple of sequential preloaders out there on the web - I >>>>>> think greensock did on, but not 100% sure. >>>>>> >>>>>> It's possible that you can use these preload a list of movie clips in >>>>>> the background. I wrote my own before finding queuing loader before >>>>>> seeing >>>>>> the others, so I don't know if they implement the same functionality: >>>>>> to >>>>>> interrupt the preloading queue when a specific "level" is requested >>>>>> and put >>>>>> the loading of that to the front of the queue. If you are not >>>>>> stopping the >>>>>> things caching in the browser, you might take a small hit re-loading >>>>>> the >>>>>> required level if it has not reloaded, but that is all. >>>>>> >>>>>> HTH a bit >>>>>> >>>>>> Glen >>>>>> >>>>>> >>>>>> Dennis - I Sioux wrote: >>>>>> >>>>>> Hey, >>>>>>> >>>>>>> Tried to use a UILoader to check the bytes loaded of a single >>>>>>> movieclip(in the library).. but this isn't working. >>>>>>> Has anyone got a suggestion to check the loaded bytes of an mc? >>>>>>> >>>>>>> Thought the LoaderInfo only reffers to the mc's owner. >>>>>>> >>>>>>> Goal is to preload each game level seperately when it is needed.(if >>>>>>> it >>>>>>> hasn't loaded while playing the previous level yet). >>>>>>> >>>>>>> With kind regards, >>>>>>> >>>>>>> Dennis >>>>>>> Isioux >>>>>>> _
Re: [Flashcoders] Smart Preloading
i must admit, i still add internal (non-added on frame 1) assets to a frame (after my preloader) and goto a frame after that when the xml, css, external assets etc are all loaded. It's probably frowned upon but it works and i've not found anything better a On Fri, Apr 17, 2009 at 8:07 AM, Dennis - I Sioux wrote: > Hey Allandt, > > Thanks for your reply. > > I already found that one.. it was linked to from the earlier mentioned > Greensock. > Seems like that one can't load mc's from the library aswell.. > > I actually want to switch of the "load before 1st" .. and when entering a > new level.. load the level clips..(if not already loaded). > > The UILoader mentions that it can load mc's aswell (at the source > property).. but there isn't any example on how to do it.. and the logical > ways aren't working. > > Thanks > > > - Original Message - From: "allandt bik-elliott (thefieldcomic.com)" > > To: "Flash Coders List" > Sent: Thursday, April 16, 2009 5:42 PM > > Subject: Re: [Flashcoders] Smart Preloading > > > there is something called bulkloader that i've seen used a few times but >> it >> might be a little surplus to requirements >> >> On Thu, Apr 16, 2009 at 3:56 PM, Glen Pike > >wrote: >> >> Sorry, it's a SWF preloader. As for preloading clips in the library, >>> that's not what it's for.. >>> >>> >>> Glen >>> >>> Dennis - I Sioux wrote: >>> >>> Hey Glen, >>>> >>>> Greensock isn't for preloading movieclips right? >>>> The swf's own movieclips in his library.. >>>> >>>> Or has it got an option for that? >>>> >>>> - Original Message - From: "Glen Pike" < >>>> g...@engineeredarts.co.uk >>>> > >>>> To: "Flash Coders List" >>>> Sent: Thursday, April 16, 2009 4:03 PM >>>> Subject: Re: [Flashcoders] Smart Preloading >>>> >>>> >>>> Hi, >>>> >>>>> >>>>> There are a couple of sequential preloaders out there on the web - I >>>>> think greensock did on, but not 100% sure. >>>>> >>>>> It's possible that you can use these preload a list of movie clips in >>>>> the background. I wrote my own before finding queuing loader before >>>>> seeing >>>>> the others, so I don't know if they implement the same functionality: >>>>> to >>>>> interrupt the preloading queue when a specific "level" is requested and >>>>> put >>>>> the loading of that to the front of the queue. If you are not stopping >>>>> the >>>>> things caching in the browser, you might take a small hit re-loading >>>>> the >>>>> required level if it has not reloaded, but that is all. >>>>> >>>>> HTH a bit >>>>> >>>>> Glen >>>>> >>>>> >>>>> Dennis - I Sioux wrote: >>>>> >>>>> Hey, >>>>>> >>>>>> Tried to use a UILoader to check the bytes loaded of a single >>>>>> movieclip(in the library).. but this isn't working. >>>>>> Has anyone got a suggestion to check the loaded bytes of an mc? >>>>>> >>>>>> Thought the LoaderInfo only reffers to the mc's owner. >>>>>> >>>>>> Goal is to preload each game level seperately when it is needed.(if it >>>>>> hasn't loaded while playing the previous level yet). >>>>>> >>>>>> With kind regards, >>>>>> >>>>>> Dennis >>>>>> Isioux >>>>>> ___ >>>>>> 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 >>>>> >>>>> __ NOD32 4013 (20090416) Informatie __ >>>>> >>>>> Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem. >>>>> http://www.nod32.nl >>>>> >>>>> >>>>> >>>>> ___ >>>> 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 >>> >>> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> __ NOD32 4015 (20090417) Informatie __ >> >> Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem. >> http://www.nod32.nl >> >> >> > ___ > 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] Smart Preloading
Hey Allandt, Thanks for your reply. I already found that one.. it was linked to from the earlier mentioned Greensock. Seems like that one can't load mc's from the library aswell.. I actually want to switch of the "load before 1st" .. and when entering a new level.. load the level clips..(if not already loaded). The UILoader mentions that it can load mc's aswell (at the source property).. but there isn't any example on how to do it.. and the logical ways aren't working. Thanks - Original Message - From: "allandt bik-elliott (thefieldcomic.com)" To: "Flash Coders List" Sent: Thursday, April 16, 2009 5:42 PM Subject: Re: [Flashcoders] Smart Preloading there is something called bulkloader that i've seen used a few times but it might be a little surplus to requirements On Thu, Apr 16, 2009 at 3:56 PM, Glen Pike wrote: Sorry, it's a SWF preloader. As for preloading clips in the library, that's not what it's for.. Glen Dennis - I Sioux wrote: Hey Glen, Greensock isn't for preloading movieclips right? The swf's own movieclips in his library.. Or has it got an option for that? - Original Message - From: "Glen Pike" > To: "Flash Coders List" Sent: Thursday, April 16, 2009 4:03 PM Subject: Re: [Flashcoders] Smart Preloading Hi, There are a couple of sequential preloaders out there on the web - I think greensock did on, but not 100% sure. It's possible that you can use these preload a list of movie clips in the background. I wrote my own before finding queuing loader before seeing the others, so I don't know if they implement the same functionality: to interrupt the preloading queue when a specific "level" is requested and put the loading of that to the front of the queue. If you are not stopping the things caching in the browser, you might take a small hit re-loading the required level if it has not reloaded, but that is all. HTH a bit Glen Dennis - I Sioux wrote: Hey, Tried to use a UILoader to check the bytes loaded of a single movieclip(in the library).. but this isn't working. Has anyone got a suggestion to check the loaded bytes of an mc? Thought the LoaderInfo only reffers to the mc's owner. Goal is to preload each game level seperately when it is needed.(if it hasn't loaded while playing the previous level yet). With kind regards, Dennis Isioux ___ 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 __ NOD32 4013 (20090416) Informatie __ Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem. http://www.nod32.nl ___ 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ NOD32 4015 (20090417) Informatie __ Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem. http://www.nod32.nl ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Smart Preloading
there is something called bulkloader that i've seen used a few times but it might be a little surplus to requirements On Thu, Apr 16, 2009 at 3:56 PM, Glen Pike wrote: > Sorry, it's a SWF preloader. As for preloading clips in the library, > that's not what it's for.. > > > Glen > > Dennis - I Sioux wrote: > >> Hey Glen, >> >> Greensock isn't for preloading movieclips right? >> The swf's own movieclips in his library.. >> >> Or has it got an option for that? >> >> - Original Message - From: "Glen Pike" > > >> To: "Flash Coders List" >> Sent: Thursday, April 16, 2009 4:03 PM >> Subject: Re: [Flashcoders] Smart Preloading >> >> >> Hi, >>> >>> There are a couple of sequential preloaders out there on the web - I >>> think greensock did on, but not 100% sure. >>> >>> It's possible that you can use these preload a list of movie clips in >>> the background. I wrote my own before finding queuing loader before seeing >>> the others, so I don't know if they implement the same functionality: to >>> interrupt the preloading queue when a specific "level" is requested and put >>> the loading of that to the front of the queue. If you are not stopping the >>> things caching in the browser, you might take a small hit re-loading the >>> required level if it has not reloaded, but that is all. >>> >>> HTH a bit >>> >>> Glen >>> >>> >>> Dennis - I Sioux wrote: >>> >>>> Hey, >>>> >>>> Tried to use a UILoader to check the bytes loaded of a single >>>> movieclip(in the library).. but this isn't working. >>>> Has anyone got a suggestion to check the loaded bytes of an mc? >>>> >>>> Thought the LoaderInfo only reffers to the mc's owner. >>>> >>>> Goal is to preload each game level seperately when it is needed.(if it >>>> hasn't loaded while playing the previous level yet). >>>> >>>> With kind regards, >>>> >>>> Dennis >>>> Isioux >>>> ___ >>>> 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 >>> >>> __ NOD32 4013 (20090416) Informatie __ >>> >>> Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem. >>> http://www.nod32.nl >>> >>> >>> >> ___ >> 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 > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Smart Preloading
Sorry, it's a SWF preloader. As for preloading clips in the library, that's not what it's for.. Glen Dennis - I Sioux wrote: Hey Glen, Greensock isn't for preloading movieclips right? The swf's own movieclips in his library.. Or has it got an option for that? - Original Message - From: "Glen Pike" To: "Flash Coders List" Sent: Thursday, April 16, 2009 4:03 PM Subject: Re: [Flashcoders] Smart Preloading Hi, There are a couple of sequential preloaders out there on the web - I think greensock did on, but not 100% sure. It's possible that you can use these preload a list of movie clips in the background. I wrote my own before finding queuing loader before seeing the others, so I don't know if they implement the same functionality: to interrupt the preloading queue when a specific "level" is requested and put the loading of that to the front of the queue. If you are not stopping the things caching in the browser, you might take a small hit re-loading the required level if it has not reloaded, but that is all. HTH a bit Glen Dennis - I Sioux wrote: Hey, Tried to use a UILoader to check the bytes loaded of a single movieclip(in the library).. but this isn't working. Has anyone got a suggestion to check the loaded bytes of an mc? Thought the LoaderInfo only reffers to the mc's owner. Goal is to preload each game level seperately when it is needed.(if it hasn't loaded while playing the previous level yet). With kind regards, Dennis Isioux ___ 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 __ NOD32 4013 (20090416) Informatie __ Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem. http://www.nod32.nl ___ 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] Smart Preloading
Hey Glen, Greensock isn't for preloading movieclips right? The swf's own movieclips in his library.. Or has it got an option for that? - Original Message - From: "Glen Pike" To: "Flash Coders List" Sent: Thursday, April 16, 2009 4:03 PM Subject: Re: [Flashcoders] Smart Preloading Hi, There are a couple of sequential preloaders out there on the web - I think greensock did on, but not 100% sure. It's possible that you can use these preload a list of movie clips in the background. I wrote my own before finding queuing loader before seeing the others, so I don't know if they implement the same functionality: to interrupt the preloading queue when a specific "level" is requested and put the loading of that to the front of the queue. If you are not stopping the things caching in the browser, you might take a small hit re-loading the required level if it has not reloaded, but that is all. HTH a bit Glen Dennis - I Sioux wrote: Hey, Tried to use a UILoader to check the bytes loaded of a single movieclip(in the library).. but this isn't working. Has anyone got a suggestion to check the loaded bytes of an mc? Thought the LoaderInfo only reffers to the mc's owner. Goal is to preload each game level seperately when it is needed.(if it hasn't loaded while playing the previous level yet). With kind regards, Dennis Isioux ___ 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 __ NOD32 4013 (20090416) Informatie __ Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem. http://www.nod32.nl ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Smart Preloading
Yup.. it has to be one file.. Just want some smart preloading furing gameplay. Thanks for the reply - Original Message - From: "jonathan howe" To: "Flash Coders List" Sent: Thursday, April 16, 2009 4:08 PM Subject: Re: [Flashcoders] Smart Preloading Does it have to be in the Library? Seems like you would have to externalize it to get any control over when it was loaded anyway. On Thu, Apr 16, 2009 at 9:55 AM, allandt bik-elliott (thefieldcomic.com) < alla...@gmail.com> wrote: in as3, i'd recommend looking up the Loader class in the helpfiles :) On Thu, Apr 16, 2009 at 2:48 PM, Dennis - I Sioux wrote: > Hey, > > Tried to use a UILoader to check the bytes loaded of a single movieclip(in > the library).. but this isn't working. > Has anyone got a suggestion to check the loaded bytes of an mc? > > Thought the LoaderInfo only reffers to the mc's owner. > > Goal is to preload each game level seperately when it is needed.(if it > hasn't loaded while playing the previous level yet). > > With kind regards, > > Dennis > Isioux > ___ > 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 -- -jonathan howe ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ NOD32 4013 (20090416) Informatie __ Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem. http://www.nod32.nl ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Smart Preloading
The queing loader sounds like something that could be usefull thanks! Dennis - Original Message - From: "Glen Pike" To: "Flash Coders List" Sent: Thursday, April 16, 2009 4:03 PM Subject: Re: [Flashcoders] Smart Preloading Hi, There are a couple of sequential preloaders out there on the web - I think greensock did on, but not 100% sure. It's possible that you can use these preload a list of movie clips in the background. I wrote my own before finding queuing loader before seeing the others, so I don't know if they implement the same functionality: to interrupt the preloading queue when a specific "level" is requested and put the loading of that to the front of the queue. If you are not stopping the things caching in the browser, you might take a small hit re-loading the required level if it has not reloaded, but that is all. HTH a bit Glen Dennis - I Sioux wrote: Hey, Tried to use a UILoader to check the bytes loaded of a single movieclip(in the library).. but this isn't working. Has anyone got a suggestion to check the loaded bytes of an mc? Thought the LoaderInfo only reffers to the mc's owner. Goal is to preload each game level seperately when it is needed.(if it hasn't loaded while playing the previous level yet). With kind regards, Dennis Isioux ___ 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 __ NOD32 4013 (20090416) Informatie __ Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem. http://www.nod32.nl ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Smart Preloading
Hey Jonathan, Thanks for the reply. I was already trying the same solution now. Only bad thing is.. that if the level wasn't laoded yet.. there will be a freeze moment.. not animated loading or percentage. Dennis - Original Message - From: "jonathan howe" To: "Flash Coders List" Sent: Thursday, April 16, 2009 4:11 PM Subject: Re: [Flashcoders] Smart Preloading Actually, there is a crude way to do it which is uncheck the "export on first frame" and then place each level on a subsequent keyframe in the main timeline (frames you'll never actually reach during playback). Flash will load the keyframes in order so essentially, it will do what you're seeking to do. On Thu, Apr 16, 2009 at 10:08 AM, jonathan howe wrote: Does it have to be in the Library? Seems like you would have to externalize it to get any control over when it was loaded anyway. On Thu, Apr 16, 2009 at 9:55 AM, allandt bik-elliott (thefieldcomic.com) < alla...@gmail.com> wrote: in as3, i'd recommend looking up the Loader class in the helpfiles :) On Thu, Apr 16, 2009 at 2:48 PM, Dennis - I Sioux wrote: > Hey, > > Tried to use a UILoader to check the bytes loaded of a single movieclip(in > the library).. but this isn't working. > Has anyone got a suggestion to check the loaded bytes of an mc? > > Thought the LoaderInfo only reffers to the mc's owner. > > Goal is to preload each game level seperately when it is needed.(if it > hasn't loaded while playing the previous level yet). > > With kind regards, > > Dennis > Isioux > ___ > 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 -- -jonathan howe -- -jonathan howe ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ NOD32 4013 (20090416) Informatie __ Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem. http://www.nod32.nl ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Smart Preloading
Actually, there is a crude way to do it which is uncheck the "export on first frame" and then place each level on a subsequent keyframe in the main timeline (frames you'll never actually reach during playback). Flash will load the keyframes in order so essentially, it will do what you're seeking to do. On Thu, Apr 16, 2009 at 10:08 AM, jonathan howe wrote: > Does it have to be in the Library? Seems like you would have to externalize > it to get any control over when it was loaded anyway. > > On Thu, Apr 16, 2009 at 9:55 AM, allandt bik-elliott (thefieldcomic.com) < > alla...@gmail.com> wrote: > >> in as3, i'd recommend looking up the Loader class in the helpfiles >> >> :) >> >> On Thu, Apr 16, 2009 at 2:48 PM, Dennis - I Sioux >> wrote: >> >> > Hey, >> > >> > Tried to use a UILoader to check the bytes loaded of a single >> movieclip(in >> > the library).. but this isn't working. >> > Has anyone got a suggestion to check the loaded bytes of an mc? >> > >> > Thought the LoaderInfo only reffers to the mc's owner. >> > >> > Goal is to preload each game level seperately when it is needed.(if it >> > hasn't loaded while playing the previous level yet). >> > >> > With kind regards, >> > >> > Dennis >> > Isioux >> > ___ >> > 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 >> > > > > -- > -jonathan howe > -- -jonathan howe ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Smart Preloading
Better yet, go with the client as preloader technique described in this video. http://gotoandlearn.com/play?id=85 On Thu, Apr 16, 2009 at 9:55 AM, allandt bik-elliott (thefieldcomic.com) < alla...@gmail.com> wrote: > in as3, i'd recommend looking up the Loader class in the helpfiles > > :) > > On Thu, Apr 16, 2009 at 2:48 PM, Dennis - I Sioux > wrote: > > > Hey, > > > > Tried to use a UILoader to check the bytes loaded of a single > movieclip(in > > the library).. but this isn't working. > > Has anyone got a suggestion to check the loaded bytes of an mc? > > > > Thought the LoaderInfo only reffers to the mc's owner. > > > > Goal is to preload each game level seperately when it is needed.(if it > > hasn't loaded while playing the previous level yet). > > > > With kind regards, > > > > Dennis > > Isioux > > ___ > > 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 > -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Smart Preloading
Hi, There are a couple of sequential preloaders out there on the web - I think greensock did on, but not 100% sure. It's possible that you can use these preload a list of movie clips in the background. I wrote my own before finding queuing loader before seeing the others, so I don't know if they implement the same functionality: to interrupt the preloading queue when a specific "level" is requested and put the loading of that to the front of the queue. If you are not stopping the things caching in the browser, you might take a small hit re-loading the required level if it has not reloaded, but that is all. HTH a bit Glen Dennis - I Sioux wrote: Hey, Tried to use a UILoader to check the bytes loaded of a single movieclip(in the library).. but this isn't working. Has anyone got a suggestion to check the loaded bytes of an mc? Thought the LoaderInfo only reffers to the mc's owner. Goal is to preload each game level seperately when it is needed.(if it hasn't loaded while playing the previous level yet). With kind regards, Dennis Isioux ___ 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] Smart Preloading
Does it have to be in the Library? Seems like you would have to externalize it to get any control over when it was loaded anyway. On Thu, Apr 16, 2009 at 9:55 AM, allandt bik-elliott (thefieldcomic.com) < alla...@gmail.com> wrote: > in as3, i'd recommend looking up the Loader class in the helpfiles > > :) > > On Thu, Apr 16, 2009 at 2:48 PM, Dennis - I Sioux > wrote: > > > Hey, > > > > Tried to use a UILoader to check the bytes loaded of a single > movieclip(in > > the library).. but this isn't working. > > Has anyone got a suggestion to check the loaded bytes of an mc? > > > > Thought the LoaderInfo only reffers to the mc's owner. > > > > Goal is to preload each game level seperately when it is needed.(if it > > hasn't loaded while playing the previous level yet). > > > > With kind regards, > > > > Dennis > > Isioux > > ___ > > 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 > -- -jonathan howe ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Smart Preloading
in as3, i'd recommend looking up the Loader class in the helpfiles :) On Thu, Apr 16, 2009 at 2:48 PM, Dennis - I Sioux wrote: > Hey, > > Tried to use a UILoader to check the bytes loaded of a single movieclip(in > the library).. but this isn't working. > Has anyone got a suggestion to check the loaded bytes of an mc? > > Thought the LoaderInfo only reffers to the mc's owner. > > Goal is to preload each game level seperately when it is needed.(if it > hasn't loaded while playing the previous level yet). > > With kind regards, > > Dennis > Isioux > ___ > 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