ActionScript 2.0 :: Preloading Too Many Assets Cause The Browser To Freeze/crash?
May 20, 2008
I am using the preLoadAssetManager from [Url] to preload 14 FLVs which range from 500K to 4MB in size to the users cache. Some users have complained that when they try to play a video, the browser (IE 6 & Firefox on Windows) completely freezes and they have to close out out of the browser. So my question is: Can preloading too many assets cause the browser to freeze/crash?
I'm running an exe that loads in some very large movieclips upon startup. At any time during the content, it could freeze and I'm thinking its because of all the clips with hundreds of frames(animations).
I am wondering if I export those movieclips as individual swf's and load/play them that way, instead of initializing a new instance, if that will be helpful.
I've never had an application freeze so randomly, sometimes it will crash during the simplest part of the content with code that has been scoured for hours now with not finding an obvious reason to cause this.
we all know how the Loader class works, and it is definately a god send.my flex project uses external swfs as assets (buttons, pages, etc).now the problem is that because these assets are loaded after initial application creation, it is sometimes visible to the viewer that these assets are being loaded, (buttons appearing slowly etc).i need to be able to include the loading of all the assets during initial site startup. is there a way to get all the assets into the viewers cache before the site has finished loading?
I have a flash movie loaded into my browser.Is there any way that i can pause it and then resume it.I tryed SuspendThread() for all the browser threads but the movie won't freeze
I've created a basic mp3 player in AS2, that reads mp3s from a xml file and lists them in a playlist. As its a custom player for a client project, there's some additional features such as volume muter and time limit. Anyway, my problem is, on some computers this player freezes the browser for 10secs and then resumes as normal, but on other pc's it plays fine without a hitch.
All computers tested were Win XP Firefox 2.0.0.12 IE 7
So I cant really pinpoint why it would freeze the browser. Here's the player [URL]. Does it freeze your browser for 10secs then resume as normal, or? Here's the source file [URL].
Environment: I am using Flash CS3 and targettting my application for Flash Player 9, I have installed Flash Player 10 on my machine. I am getting a flash player 10b.ocx error, which causes into crash of the browser. I am loading a bunch of images in this application. (20-30 at a time). using Loader class.
I have three questions: Is it the flash player error causing the browser to crash or something in my code is wrong?what possibly can go wrong in AS3 code to cause this error if it is not a flash player error?What could be the possible resolution for the same?
I've run into a troubling issue where using the NetStream class is causing odd video playback behaviour, major disk query issues, and also leading to my browsers crashing (tested on FireFox 3.5.X, IE 8, and Safari 3/4 with Flash plugin 10,0,42,34). I tested the issue on a Macbook as well and noticed the same thing, so it wasn't something specific to my machine. I wrote a basic Flex application to test this. I make a NetConnection to my web server. When successful, I create a NetStream to playback the video (F4V encoding of Big Buck Bunny). Immediately in Windows Performance Monitor, I can see the Disk queue jump to 100%. The video eventually pauses for a lengthy period of time. Sometimes the browser also becomes unresponsive at this time, and in other cases it will crash. If the video does eventually resume (disk querying reduces a bit), I experience odd behaviour with the video. If I pause the video (NetStream.pause()), when I resume the video (NetStream.resume()), the video begins to fast-forward to make up for the amount of time lost while the video was paused. So if I paused the video for 10 seconds, Flash will fast-forward in 1-second intervals through 10 seconds worth of video. During this time, NetStream will constantly dispatch buffering end and buffering full events.
What's odd is that the problem doesn't seem to happen when I add an additional arument in the play command. NetStream.play(url) will cause the issue, but NetStream.play(url, 0) will not. However, this doesn't always work. My own player, which has a lot more interface controls and complex logic, still suffers from the problem, despite that I'm not doing anything with the NetStream object.
I've written an html page that is using some javascript to hide and display a flash movie object. It all works fine until I try to exit from the tab, and when that happens the entire browser will crash with not so much as an error text box.
I have about 20-30 SWFs embedded on the same page and they all interact with browser's JavaScript. After about 8-12 of these have loaded, Firefox crashes. Will it help combining all these into a single SWF?
I am working on a game. All behavior was as expected, and I got no crashes when testing on my machine using FlashDevelop and the Flash Player. But if I open the .swf in Chrome directly or through the Kongregate test area, the game crashes 100% of the time that that function is called.
[Code]...
The selectDebater function is not new, and has never had a problem.
I'm building an Flex 4 application using IntelliJ IDEA 9.0.2 generated sample Flex application. I replace the generated mxml with the following code from the book Hello Flex 4. It simply crashes the browser when I run it. It says "Waiting for [URL]..and then crashes I tried it on both FF 3.5.9 and Chrome 4.
I want an air application to be able to update the assets it uses, but minimizing the download needed, so only downloading files added since it last updated.I'm thinking this would include a server portion which would zip the needed files based on a version number? Has anyone implemented anything similar / got any thoughts on the best approach to building this sort of system?
Mac, Flash CS3. How do I make a progressive downloaded flv-video freeze at the last frame instead of jumping back to the first frame again when the video is finished?
Flash freezes when in fullscreen, youtube or any other site. Disabling hardware acceleration works but significantly lowers the playback quality. I'm running XP SP3 and WIndows 7, same problem with both OSs, in IE, Firefox, Opera, and Google chrome, so it's definitly the adobe flash player that's causing the problem. Tried unninstaling adobe flash player and adobe activeX completely, than downloaded latest versions and installed them. Then I tried unninstaling them, unninstalling all the browsers, restarting, then installing the browsers and then the latest flash player.
I'm making a platform game and i want the screen to freeze for a few seconds when it hits an object (eg, Spikes) the after it has finished freezing i want it to repeat the frame again.
I've set up my custom Flash video player and am almost there but would like some final touches and advice on how to do that. How do I get a freeze frame to appear instead of the buffer bar when the clip ends?Here is my code:
Code: var nc:NetConnection = new NetConnection(); nc.connect(null);
I am new to flash, and I've never done animation before, so I'm a little confused on how to make a symbol movie clip, freeze and then keep moving.
Do I need to do it frame by frame?
I made a character walk from off the stage to the center by using a motion tween and it appears to be moving because I edited the symbol to make the legs move. But now I don't know how to make the legs stop when the character reaches the end of the motion tween. Is it even possible?
I have 3 varibles idle walking and jump. for some reason when i goto walk the animtion wont play just the first frame but everyting else does idle and jumping[code]...
I would like to stop all movieclips at once (and all nested movieclips of course) but I have no idea, how to do it. Do I need to stop each movieclip separately?
I have my site set up so each page is its own movieclip, and when my buttons get clicked, they tween alpha out from the current page and then tween alpha in to the desired page.This works most of the time, but I do get those odd occurrences where the tween (whether it be from fade in or fade out) just stops - leaving the page with a half alpha.I've tried everything from renaming my variables in my functions to making them the same names, and to no avail.
CODE var currentPage:MovieClip = index; var nextPage:MovieClip;
why does my exported .mov file freeze/skip? I exported a .mov if HD 1280x720 and it freezes/skips. If I convert it to another format it's okay. Is it my video card or am I am not exporting it right? I used the h.264 and compressor quality best.
I am very frequently having Flash CS5.5 freeze up whenever I try to copy and paste Library content between two different FLAs. The object I'm copying is usually a Movie Clip with some child Movie Clips.The larger or more complex the FLA you're pasting into, the worse the problem seems to be.I''ve experienced this on two different systems, Both Macs running 10.6.7.The problem is bad enough that it renders 5.5 unusable.
I am using Flash and Photoshop CS5 for a college (HND) project (by which I mean, a single document for a Flash portfolio) and, Flash in particular, they keep appearing to freeze (i.e. they temporarily show as "Not Responding") whenever I save and take forever to save. My computer is quite low spec. (I intend to get another high-spec one but until that point) and possibly insufficient for what I am trying to run. However, I have only recently started having this problem and the saving is so slow that it is hampering my development of the project..
Is there at least a short-term solution to this? I really need to get on with the project and I can't when it's running like this. Flash also occasionally crashes so I can't risk not saving it regularly as I could lose work.
I have my site set up so each page is its own movieclip, and when my buttons get clicked, they tween alpha out from the current page and then tween alpha in to the desired page.
This works most of the time, but I do get those odd occurrences where the tween (whether it be from fade in or fade out) just stops - leaving the page with a half alpha.
I've tried everything from renaming my variables in my functions to making them the same names, and to no avail.[code]...
I'm making an MP3 streamer in AS3 and it works fine for normal length files, but for long files the whole movie becomes unresponsive for maybe a second.[code]
I created a website for my motorcycle club, and for some reason, certain members say that the preloader freezes half way through loading! Can somebody check out my .fla file and let me know if there is something wrong with the actionscript. Or if there is another script I can add to it to check if it frooze or to force continue..
we'd made a flash site which was working fine on normal pc and mac and on all kind of browsers, but we discovered if the pc has no sound card, the flash will freeze after loaded, we tried some other flash sites, some of them also cannot run without a sound card but some can, is there any script we need to add to avoid this problem?
I have the newest firefox and the flash debug version. Whenever there is an flash error happen, the error message window popup, and then my firefox freeze immediately. It seems like the problem only happen on debug version of flash. I searched online, people said change the Code:dom.ipc.plugins.timeoutSecs to -1 will fix the problem, but I tried, it doesn't really fix it. Anyone know anything I could try to fix it?