ActionScript 3.0 :: UnloadAndStop() Freezing / Crashing Flash?

Jul 24, 2009

I have been using the new unloadAndStop() function to unload some loaded SWFs after they are no longer needed. This has been working fine whilst testing in flash, and when I have tested it using firefox. However, to my utter horror and despair unloadAndStop() seems to be crashing safari and IE8. I haven't tried IE7.

After replacing unloadAndStop() with the old unload() the crashing stopped. So I am certain this is the problem. unloadAndStop(false) also caused flash to crash. No error was displayed.

This project has been 7 months in the making and involved a lot of hard work in the evening and weekends. I noticed that it was starting to lag after being in use for a while because SWFs weren't being released from memory. When I say lag as well, It's not like normal frame rate slowing down lag, the whole application will simply freeze up for a couple seconds, and the freezing lasts longer the longer the app has been running. I have gone through and made sure to null almost every variable myself, and null any variable in the loading swf that points to anything in the loaded SWF. It appears to be working now using the old unload() function, but will need more testing to be sure because the lagging only turns up after the application has been running for about 45 minutes and has loaded and unloaded several SWFs.

Anyway, is there anything that I can do about this or am I missing something obvious? I haven't found any other posts about this, has anyone else had this problem? Why does god hate me so much?

Sort it out please Adobe, I really don't think it should be this hard to get rid of a loaded SWF. If you were in front of me right I would be screaming at you.

View 3 Replies


Similar Posts:


Flash :: UnloadAndStop With EZFLAR/webcam?

May 1, 2011

I'm making a book/magazine with EZFLAR and Flash, but I was going to need a lot of markers (and they become indistinguishable by FLARToolkit the more they are), so now I'm trying a different approach: just three markers and then, load a different SWF that triggers different actions for each marker.

To do so, I made a loader.swf that will be in charge of loading any of the specific swf depending on what the user clicks. I started with my first button and it loads fine, just it has two problems.

First problem, and not so important, is that I can't seem to add anything over the webcam stream, not even placing it on the EZLFAR.fla, the webcam always covers everything. I decided, then, to add a little margin where I can place a UI (maybe a back button or the other swf loaders).

[Code]...

View 1 Replies

Freezing The Flash Movie In A Pop-up?

May 21, 2009

I have created 2 Flash movies in the form of a slideshow. The flash clips are embedded in the webpage that I was modifying and it works perfectly fine. What I would like to do is to allow users to be able to click on the flash image in the web pages. Once clicked, a new pop-up window will appear and it will show the freeze image of the flash that was being clicked at the moment. Currently I am only able to make the new pop-up window and the flash still played through itself in it while I need it to freeze and be static.

View 4 Replies

IDE :: Freezing The Flash Movie In A Pop-up?

May 21, 2009

I have created 2 Flash movies in the form of a slideshow. The flash clips are embedded in the webpage that I was modifying and it works perfectly fine.

What I would like to do is to allow users to be able to click on the flash image in the web pages. Once clicked, a new pop-up window will appear and it will show the freeze image of the flash that was being clicked at the moment.

Currently I am only able to make the new pop-up window and the flash still played through itself in it while I need it to freeze and be static.

View 2 Replies

Flash :: Unloading Swf Using The UnloadAndStop() Method, But Video Sounds Remain Audible

Feb 16, 2011

I have tried many approaches to unloading my swf, but to no avail, the video sounds within my laoded swf keep playing even once the swf has been loaded.

I have created a universal loader as follows:

var loader:Loader = new Loader();

I then load various swf's into a movie clip named mov_contentLoader, for example the video swf is loaded as follows:

loader.load(new URLRequest("video.swf")); //assign SWF url to loader
mov_contentLoader.addChild(loader); //add loaded content to movi clip

I then have a generic "exit" button, based on the state of the application, certain windows are closed, swf's are unloaded etc. For my video.swf file, when the exit button is clicked, I call the unloadAndStop(); method on the loader as follows:

loader.unloadAndStop(); //unload all content, do some garbage cleanup
mov_contentLoader.removeChildAt(0); //just to be safe, a second layer of reassurance ??

The SWF is unloaded, but for the life of me I can NOT get the sounds to stop! I even resorted to adding stage listeners on the video.swf to listen for an exiting state, but that still did not stop video sounds.

If I load the video.swf in again and play a different video, the two soundtracks play ontop of each other.

View 4 Replies

Cs5 :: Flash Freezing When Clicking Between Applications

Jun 28, 2010

Flash seems to crash/freeze when clicking through to other applications.

i cant get any work done because its crashign all the time.

View 2 Replies

Flash Freezing When Playhead Reaches End Of Timeline

May 19, 2009

I have a piece of code like a the end of a timeline, most usually looping back to frame one or a stop() if I let the playhead play through to this frame then flash will freeze!

View 1 Replies

Professional :: Flash Player Freezing IE Browser

Apr 8, 2011

So I recently got a new laptop. It came installed with Windows 7 64-bit and Internet Explorer 8. However, after installing the current Flash Player update, IE started freezing. I would open certain pages, and the browser would become unresponsive, leading me to end the program. I would try it again, and still the same result. The culprits were always the same, hotmail and tvshowsondvd, among others. Internet Explorer 9 was released a few days later, so I uninstalled IE8 and installed IE9.

The browser worked fine for a few days, but then it started to do it all over again, with the same web pages! Then I noticed something, all these pages were heavy in flash objects. So I tried uninstalling Flash Player 10 and guess what, it started working! No more problems loading pages. I can no longer view flash objects, especially on YouTube. I haven't had the problem since, but I need Flash Player installed.

View 1 Replies

Flash :: Camera Freezing When Using FlareNFT With FLARManager?

Jan 24, 2011

I'm trying to run the example application from the FlarManager download. It worked first time using the FlarToolkit engine, but the webcam freezes if I change to the FlareNFT tracker. The only change I've made is to the onAdded function:

From this:

this.flarManager = new FLARManager("../resources/flar/flarConfig.xml", new FlarToolkitManager(), this.stage);

To this:

this.flarManager = new FLARManager("../resources/flar/flarConfig.xml", new FlareNFTManager(), this.stage);

When using the FlareNFTManager it compiles but freezes the camera feed. No errors are thrown, but the FlarManager event handlers are not triggered (e.g. onFlarManagerInited, onMarkerAdded, etc.).

View 2 Replies

Flash :: Preloader Hanging / Freezing With 'hiccups'

May 24, 2011

I've developed a flash-based site for a client who has an account with GoDaddy and have uploaded all files successfully to the hosting server. The site consists of an initial preloader named "preloader.swf", which loads an external SWF file named "main.swf" that contains different sections including an image-gallery section.However, I notice that at times (as not always this happens) the initial flash preloader for the main flash-based site loads faster than usual with "hiccups". This results in when having to view an image in the gallery section of the site (where each image is loaded externally from the server having a preloader of its own), the selected image loads in a jagged manner with "hiccups" (for instance from 22% it pauses then jumps immediately to 31%, then pauses again and jumps immediately to 47%, and so on).

Then, at a point in time, the preloader suddenly freezes/hangs the entire site, having no other choice but to refresh the site.Only then, once the preloader of the image has froze and the site is refreshed, or the cache is cleared, will the entire site work perfectly as supposed to - i.e. the initial preloader loads more slower and smoother, and the preloaders of when the images are loading are more smoother as well (no sudden jumps in the percentages as before; the preloader loads in normal increments).how I can make the site load smoothly always without having to encounter any hiccups, freezing and hanging, as I've been checking my code over and over again but I can't find anything wrong with it?I was doing some research and read that the cause might be because of the following line "ProgressEvent.PROGRESS" as it might not fire at times in IE or Firefox. Is that so? If so, what alternative must I take?[code]

View 2 Replies

ActionScript 3.0 :: Stop A Loop From Freezing The Flash Movie?

Aug 14, 2009

How do you stop a loop from freezing the flash movie? I want to put a progress bar and the loop will return the % status but the loop always freezes?

View 4 Replies

AS :: Professional - Prevent Flash Player 10.1 Freezing When Off-screen?

Jun 22, 2010

I'm working on a set of SWFs that need to sync with each other using LocalConnection in AS2It was working fine in Flash Player 10, but as 10.1 throttles Flashes when they are not visible, the SWFs lose their sync if any of the SWFs are not visible on the page.This is particularly annoying as we were not aware of this new behaviour in 10.1 and I expect the update will break a lot of similar websites.

View 3 Replies

ActionScript 2.0 :: Flash8 Data Loading From Server Is Freezing Flash

Jun 10, 2009

I have an ASPX script that load the properties of a long list of objects from database (about 1000).

Then I have a spinning mc to entertain the user while data is loaded.

The problem is that it starts to spin, and then, at certain point of data reading the animation freezes indicating that Flash is too busy gathering and putting data into the LoadVars object (it restarts to spin after finish data reading).

Question is: there is a way to override this and force Flash to give priority to the animation? I think that's a very ugly behavior by the point of view of user and would be nice if it could be fixed.

Personally I cannot see another way to turnaround it but performing several smaller and consecutives database readings (to reduce CPU load), but I think that's a totally unaceptable solution...

View 1 Replies

ActionScript 3.0 :: Parse Multiple Files Without Flash Player Freezing?

Sep 9, 2011

I am trying to parse a string. It involves a huge for loop.

Tried making livesdocs out of this but it failed. So I looked with google and found this.

Does any one know...how I could apply this to a huge for loop? Trying to parse multiple files without flash player freezing.

View 8 Replies

Flash :: Keeps Crashing In OS X?

May 4, 2010

So after I installed CS5 Design Premium, flash often crashes; luckily it doesn't crash the browser (which I guess is the feature on the browsers these days), so a refresh reloads flash and things usually work a couple times; then flash crashes again.
 
This a known issue? Or am I the only experiencing this? This happens on both my Macs (Mac Pro and MacBook Pro). I've already tried reinstalling and getting the latest updates. Those don't work (since there are no updates either).

View 3 Replies

ActionScript 3.0 :: Flash Crashing From Exe?

Aug 12, 2010

I've created a flash exe presentation. I checked the CD before I sent it out, and it worked fine on the PC that I was testing it on. (it was created on a mac). Anywho... I sent it out and now some people are having issues with flash crashing, while other are having no trouble. I used a CD duplicated, so all the CDs should be the same. I'm thinking it may be a global setting, but I don't normally work on PC and don't know what it could be. Here is the error message they receive:

Error message: Adobe Flash Player 10.1 r52 has encountered a problem and needs to close.Then once I click the error report to read the reporting details it says: this error includes information regarding the condition of adobe flash player 10.1 r52 when the problem occurred; the operating system version and computer hardware in use; your digital product ID, which could be used to identify your license; and the internet protocol (IP) addresses of your computer.

View 1 Replies

Encoding Flash From Wmv Crashing

Apr 23, 2008

I've been using Flash Video Encoder for quite a while now and never had a problem encoding flash from wmv. But in the last week suddenly encoding crashes on ever attempt. At first I thought it was a change in the format of the video that was being introduced, but then I tired videos that I know that I've converted previously. They crash too. I've also tried on 3 different computers, that have all had success in the past.

View 6 Replies

Flash Crashing After 5 Seconds Of Use

Nov 29, 2008

I was wondering if anyone else has been experiencing the same problem with flash that I have. For me Flash can't even stay open for 5 seconds without it completely crashing and having to restart.

View 7 Replies

Professional :: Flash CS3 Keeps Crashing?

Feb 13, 2010

When I copy and paste an illlustrator file into Flash, it keeps quitting on me. I can't seem to get past the first step. Is there some kind of bug fix i can download. I have a big project to start and I have to get this figured out soon!!

View 12 Replies

CS4 :: Flash Professional Keep Crashing

Feb 16, 2010

Flash CS4 keep crashing. Is there some kind of bug fix i can download.

View 1 Replies

ActionScript 3.0 :: Flash Keep Crashing?

Nov 3, 2010

I'm building this whack-a-turkey game and every time the countdown clock reaches 00:00, if I try to do anything other than stop the timers, it makes Flash crash.I've commented my code below where it crashes and you can also check ou the app here.[code].....

View 1 Replies

Flash :: Crashing But Won't Uninstall From My Mac

Nov 14, 2010

Flash is crashing when I try playing video in Safari, Firefox or Google Chrome.

Chrome says that I have two almost identical versions of flash installed.
 
I have downloaded the uninstaller - it completes and says it has uninstalled, but does absolutely nothing.

Installing new versions does nothing either, I have rebooted in between etc but nothing. I've even tried removing the browsers and reinstalling.

View 2 Replies

Professional :: Flash Cs5 Crashing?

Feb 18, 2011

i have been using flash cs5 for like a week and almost everytime i try to save, make a movieclip, or test my file flash decides its going to crash so my work often is gone.. non existant after that.    The error message that pops up  is something about aflamingo.dll.

View 1 Replies

Flash :: CS4 Crashing When Compiling?

Sep 5, 2011

Since I purchased flash CS4 (upgrading from flash 8), I have gradually shifted from writing code in AS2 to AS3. Now all of my projects are in AS3 except 1, it's an old legacy project written in such a way that conversion would be almost impossible. Earlier today I started to work on it and then tried to compile it causing flash to crash. After about an hour I realised that whenever I compile an AS2 project flash crashed. After trying to download patches, restarting countless times and searching the internet for similar bugs, I uninstalled and reinstalled flash. But to no avail, the bug persisted. So I decided to create an acount and post about the bug I encountered on this form, hoping that somone might know about it.

View 3 Replies

IDE :: Flash CS3 Crashing All The Time?

Nov 3, 2009

I am a flash games developer, and I am currently working on a game that is truly massive.The main file size is over 250MB.It's been a work in progress for about 4 months of solid work.Due to the size of the file, I prefer to create things like characters and objects in another file. I then need to import it over, replacing old movieclips.

When copying and pasting now, it always crashes, or tells me that its run out of virtual memory.It appears to be impossible to get it all over, even bit by bit.I've saved and compacted, I've saved as, I've moved it onto another disk drive.All of the above seemed to help temporarily, but I'm now at a stage where nothing is working.I don't think the file is corrupted in anyway. I've had no problems with any other component of flash. Just the copying.I just don't understand what's so intensive about moving over an object of about 10-20 mb.My computer is quite high performance, 5.6ghz, 4gb of ram.

I've asked for help on so many forums now, and all i get is criticism at my file size. Well it can't be helped. It's a massive game.I've tried using a runtime shared library, but unfortunately it doesn't allow attachmovie to get it from the library. It seems the identifier is only being used to connect the 2 libraries when you set up a runtime shared library.attachmovie is very important to the code and it can't be done any other way.

View 9 Replies

ActionScript 3.0 :: Flash Player Crashing IE

Feb 23, 2010

I'm trying to remotely debug a problem with another's teams game at work. They have a game, where if you play it through IE, eventually it will crash with the error "This application has requested the Runtime to terminate it in an unusual way".

Typically, being IE, there's no more info to give an idea of what's causing the crash. I did some searches on the web and found a number of things such as memory leaks (going above 1Gb will crash IE). I've forwarded the info, and the team removed their leaks, but it's still crashing.

View 1 Replies

Flash :: CS4 Crashing With Snow Leopard

Oct 9, 2009

I just installed Snow Leopard and now my Flash CS4 will not stay open. It crashes. All software updates are up to date.

View 3 Replies

Flash :: CS3 Professional Crashing On Exit

Jul 14, 2008

Every time I use Flash CS3, the program works with no problem, with no lags and crashes. But once my work is done and I close it, Windows prompts a dialog about a "Flash not responding" warning. It happens every time I close the program, why is that?

View 3 Replies

Professional :: Flash Keeps Crashing When Start The App?

Feb 10, 2010

I'm having a problem with Flash crashing when I try to start it. I first noticed the problem when I had a fairly simple scrolling text fla that I tried to open but after a few seconds of the document being open spinning beach ball (Mac) would come up and a few seconds later that app crashes. I've tried to open three separate Flash documents as well as just opening the program and making a new document. Every time, the result being the spinning beach ball and the app crashes after about 5 seconds.I've updated all my Adobe software. What else can I try? Deleting preferences, if so,where are those located?

View 2 Replies

CS5 :: Flash Crashing When Testing Movies

May 17, 2010

When I test a movie in Flash CS5, it usually crashes. The output panel scrollbars flicker and sometimes show the following output[code]...

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved