Re: [Flashcoders] my old problem... with big loads of swf's
My experience has been that content loading from a local drive will cause the player to freeze until the entire contents of the asset is loaded into ram, therefore making it impossible to show loading progress. This is of course unlike loading an asset from a web server where showing load progress works quite well. If your asset is large enough (+8mb) it can start to really cause problems where the flash player freezes up and the user is left to wonder if the app crashed. If your large swfs are video, I suggest converting them to FLV and use netStream and netConnection objects to stream the video in. This will alleviate the problem. Cheers, Randy ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] my old problem... with big loads of swf's
At least somebody helps me... I posted my problem here several times, about swf's and big loads in projector but no solutions. Some helpful and patient words, but i was beleaving i was going crazy (everybody tolds me here that it wasn't a normal success) I posted my question in Creative Cow: Hello. I posted my problem several times in several forums (but this is my first post here) I haven't found a solution and the time for my project is running so fast (i'm working hard, mornings, evening, nights, but no solutions for this problem) The Scene: i'm programming a Projector-Flash Project that loads contents in local. It uses _levels, AS2, and a MovieClipLoader to load contents in each _level through navigation in the app. There is some big swf (5Mb) to load, but size must not be a problem in a local-project (Kiosk CD or DVD project) The Problem: when i Load the swf's in the appropiate _level, the previous _level goes frozen (even a simple animation of time to wait during load). I also tried a preloader technique in the swf that is being loaded with two scenes, but the animation of the first scene also is frozen until the complete load is made. The Cause: I think the cause of the problem has the following reason... When i load in remote (flash web projects), there is a portion of memo/processor free. So i can make anything during this time. When i load in local, all the resources are taken to make the load, so anything is frozen till the load is complete. DESPERATE: I've tried all kind of methods (Preloaders, MovieClipLoader (It only gives me 0% and 100% in events to control load), and so on... no solutions. Can anybody solve this problem? Thank u in advance --- In Creative Cow one person post me the following: -- My experience with the projector is it doesn't do a progressive download like SWFs do on the internet. I've never used the projector to dynamically load SWFs, but I've made projectors of very large SWFs (20-75MB) and it seems to me that when you run them, they need to load the full file into memory before the projector app starts running (except for FLVs, which still seem to stream fine). It wouldn't surprise me if it were the same for the dynamically loading assets, which would only be an issue when you have large files. The fact that it freezes things that are already loaded and running is somewhat surprising to me, but not entirely unexpected. I'm still with the same problem. But i hope that it helps to people to NEVER try to build a big application developed in flash and actionscript (even Flash 8) without considering that advertisement... thanks to all people... ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] my old problem... with big loads of swf's
I don't believe there is any way to fix this - just like if you launch Photoshop while playing an animation, it's gonna stutter. I wanted to do something like this before. I had to search through a large XML, and I didn't want the computer to freeze while the search took place because the search took about 5 seconds. I asked around and came to a conclusion that Flash hogs all the resources of a computer to do a certain task, and releases it only after it's done. To fix this it would be better if you further break down the swfs to smaller files so it only loads when it needs to. Goodluck On 1/18/06, julian atienza [EMAIL PROTECTED] wrote: At least somebody helps me... I posted my problem here several times, about swf's and big loads in projector but no solutions. Some helpful and patient words, but i was beleaving i was going crazy (everybody tolds me here that it wasn't a normal success) I posted my question in Creative Cow: Hello. I posted my problem several times in several forums (but this is my first post here) I haven't found a solution and the time for my project is running so fast (i'm working hard, mornings, evening, nights, but no solutions for this problem) The Scene: i'm programming a Projector-Flash Project that loads contents in local. It uses _levels, AS2, and a MovieClipLoader to load contents in each _level through navigation in the app. There is some big swf (5Mb) to load, but size must not be a problem in a local-project (Kiosk CD or DVD project) The Problem: when i Load the swf's in the appropiate _level, the previous _level goes frozen (even a simple animation of time to wait during load). I also tried a preloader technique in the swf that is being loaded with two scenes, but the animation of the first scene also is frozen until the complete load is made. The Cause: I think the cause of the problem has the following reason... When i load in remote (flash web projects), there is a portion of memo/processor free. So i can make anything during this time. When i load in local, all the resources are taken to make the load, so anything is frozen till the load is complete. DESPERATE: I've tried all kind of methods (Preloaders, MovieClipLoader (It only gives me 0% and 100% in events to control load), and so on... no solutions. Can anybody solve this problem? Thank u in advance --- In Creative Cow one person post me the following: -- My experience with the projector is it doesn't do a progressive download like SWFs do on the internet. I've never used the projector to dynamically load SWFs, but I've made projectors of very large SWFs (20-75MB) and it seems to me that when you run them, they need to load the full file into memory before the projector app starts running (except for FLVs, which still seem to stream fine). It wouldn't surprise me if it were the same for the dynamically loading assets, which would only be an issue when you have large files. The fact that it freezes things that are already loaded and running is somewhat surprising to me, but not entirely unexpected. I'm still with the same problem. But i hope that it helps to people to NEVER try to build a big application developed in flash and actionscript (even Flash 8) without considering that advertisement... thanks to all people... ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Ramon Miguel M. Tayag ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] my old problem... with big loads of swf's
Have you tried loading them into movie clips instead of levels? I generally try staying away from levels when at all possible. Also, you can use the movie clip loader class to make the movie clip loads sequential, loading the next movie after the previous movie generates an onLoadInit event. Third, you can use setInterval to delay the initial load a little bit so that it is not loading during the initial startup of the projector exe. Nathan http://www.nathanderksen.com On Jan 18, 2006, at 5:47 AM, julian atienza wrote: At least somebody helps me... I posted my problem here several times, about swf's and big loads in projector but no solutions. Some helpful and patient words, but i was beleaving i was going crazy (everybody tolds me here that it wasn't a normal success) I posted my question in Creative Cow: Hello. I posted my problem several times in several forums (but this is my first post here) I haven't found a solution and the time for my project is running so fast (i'm working hard, mornings, evening, nights, but no solutions for this problem) The Scene: i'm programming a Projector-Flash Project that loads contents in local. It uses _levels, AS2, and a MovieClipLoader to load contents in each _level through navigation in the app. There is some big swf (5Mb) to load, but size must not be a problem in a local-project (Kiosk CD or DVD project) The Problem: when i Load the swf's in the appropiate _level, the previous _level goes frozen (even a simple animation of time to wait during load). I also tried a preloader technique in the swf that is being loaded with two scenes, but the animation of the first scene also is frozen until the complete load is made. The Cause: I think the cause of the problem has the following reason... When i load in remote (flash web projects), there is a portion of memo/processor free. So i can make anything during this time. When i load in local, all the resources are taken to make the load, so anything is frozen till the load is complete. DESPERATE: I've tried all kind of methods (Preloaders, MovieClipLoader (It only gives me 0% and 100% in events to control load), and so on... no solutions. Can anybody solve this problem? Thank u in advance --- In Creative Cow one person post me the following: -- My experience with the projector is it doesn't do a progressive download like SWFs do on the internet. I've never used the projector to dynamically load SWFs, but I've made projectors of very large SWFs (20-75MB) and it seems to me that when you run them, they need to load the full file into memory before the projector app starts running (except for FLVs, which still seem to stream fine). It wouldn't surprise me if it were the same for the dynamically loading assets, which would only be an issue when you have large files. The fact that it freezes things that are already loaded and running is somewhat surprising to me, but not entirely unexpected. I'm still with the same problem. But i hope that it helps to people to NEVER try to build a big application developed in flash and actionscript (even Flash 8) without considering that advertisement... thanks to all people... ___ 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