ActionScript 3.0 :: Debug Swf Browser Crashes?
Feb 18, 2009
My swf is occasionally crashing the browser (or just crashing the plugin as chrome tells me).
How do I diagnose the bug? I am developing for flash player 9 using flex. The bug lies somewhere in my as3 code.
Things I have tried: Turned on log files so I can see trace("...") output. However, my log files, and my swf, are ending at inconsistent termination points. Install the debug version of the flash player Tried different browsers (today I am on vista, and can reproduce the bug on four browsers).
I am hoping there is a [legible] stack trace from the plugin.
View 2 Replies
Similar Posts:
Oct 21, 2010
I've got an animated banner for my site which I've grown quite attached to. It's a scene of the sky with the Title of my site on it and there are clouds that move constantly across it.Now the tricky part and part that I think might be freezing up the browser (firefox) is that the background changes depending on your computers time.So if you visit my site and the time is past 6:00PM, the day background will change to night.It's not an instant change though. You actually have to refresh to get it to change. Anyway, if I let the site/banner sit in my browser as either the active tab or the non-active tab for at least 10 minutes, the whole browser will freeze up. The only way to stop it from freezing up is to close it and restart it.I don't know what I did wrong, but I was hoping you guys could tell me. The file size is not that big (262kb). The images were converted from .jpg to vector, so I can't see why it'd be too graphic intensive. Basically I'd just like to be able to run it at the current resolution and quality, but not have it crash people's browsers.
View 3 Replies
Oct 13, 2011
I need a nudge in the right direction for a theory of a solution to the below problem.
Desired Result:
Current existing structure: FLEX RIA that communicates with MySQl DB via PHP.
We basically, have a RIA that is part of a software solution we provide to our customers, we want to restrict login sessions to one/username, which we did successfully by setting a value in our MySQL DB...the point of this was to restrict the use of username(s) to one application access point and create the ability for us to charge for additional usernames, if so desired by our customer.
Problem:
Although, we successfully restricted user logins to one session, we ran into a problem when the RIA connection with the DB was inadequately terminated (eg., browser crash, OS crash, flash player error, etc). When these crashes happenned the value that was set in the DB for the user, showing them logged in, would persist and thusly lock them out of our software application. We would have to go into the database and manually reset their logged in status.
View 1 Replies
Oct 10, 2009
I have been working on DirectShow source filters. The flash10c.ocx routine that is invoked when you click on any "Featured Highlight" on http://www.ustream.tv can abort and takes ANY browser with it under certain conditions.
After days of work, I have finally narrowed this down to the camera enumeration function(s) in flash10c.ocx. Before beginning this quest, I had no idea that the flash player was enumerating cameras on user's machines.
If you right click on a window playing flash video, and select "Settings" then click on the camera symbol, you will see a drop-down window listing all Direct-Show Source Filters that are on your machine. I have several.
[Code]...
View 7 Replies
Jan 20, 2011
In Actionscript 3, I make a call to Javascript using:
ExternalInterface.call('javascriptFunction');
If in Javascript, there's an error or a blocking call, the entire browser will freeze. I can't use Firebug in Firefox to debug it because the act of stepping through the callback also crashes the browser. How do I go about debugging this?
[Code]...
I'm on an HP desktop with Windows 7, Firefox 5.0, IE9, and Chrome 12.0.742.122. Either alert call will randomly cause Firefox to freeze...it actually usually happens in bunches, where it'll freeze for a few times continuously (obviously restarting Firefox each time)..and then stop for a few hours and be alright.It has yet to crash IE9 or Chrome, though I haven't tested it as extensively with Chrome. Using the Firefox console doesn't help since Firefox just crashes all together. If anyone could shed some light on that, that'd be great!
View 2 Replies
May 28, 2011
How can i debug swf file in browser.
View 1 Replies
Feb 26, 2012
I'm following directions to set up a debugging in FlashDevelop in web browser.I'm getting confused on 'Configure your project' step. It says:
Open the Project properties and change the "Test Movie" option to "Open Document...". Click on the button which should appear, and enter bin/index.html (path to html page, relative to project root) in the prompt.
What is the bin/index.html file? Is it where my SWF is loaded? I currently have a SWF that loads from a PHP page. So I pointed it to my PHP project's index.php page build project. After build I get a generic Windows message that Windows cannot open the file with that extension.
Is it possible for me to debug my SWF from my PHP page which loads it?
View 1 Replies
Nov 19, 2009
How do you debug flash in the browser?When I run my swf from my hard drive, it works perfectly. When I run it embedded in html, there is an error. I don't know how to debug this kind of problem.URL...
View 2 Replies
Apr 14, 2010
We are experiences a phenomena that flash clients connecting to a live (pre recoreded)stream served from FMS (we use 3.5.2), have their buffer grow out of proportionit is alsoccompanied mostly with a complete video freeze, until the browser crashes.(you can expect a crash after having more then 4000 seconds of video buffer active in memory)The more we switch streams via a playlist,the more this seems to happen,Thus, streaming long video feeds keeps the system stable, but when injectingfeeds into a main stream and switching back increases the probability
View 7 Replies
Feb 28, 2012
I'm trying to debug my flash application and when I build and run it in debug(in FlashDevelop), it crashes. Is there a dump file which can give me information about what caused the crash?
View 2 Replies
Jun 23, 2010
I have a client who has a home page that I built for him. Basically there are words randomly displayed in the background. Then there are three images that rotate based on a timer. So I have two timers going. I have event listeners added to the images when the app starts. I'm moving the image off the stage when it's not visible. So I'm not adding and removing listeners over and over. However, if you watch the browser memory usage in all three major browsers it climbs several mb's in a minute. Therefore, if the user sits on the homepage the browser crashes.
View 4 Replies
May 22, 2010
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.
[Code]...
View 1 Replies
Oct 24, 2010
I'm using Flash on my website and periodically my Flash object will crash. Is there a good way to debug my AS3 code while my Flash object is running in the browser?
View 2 Replies
Nov 6, 2007
I'm having a problem in a couple of projects where I'm loading images and placing them on the stage, and if you click to another site while they're loading, or press the back button, or even close your browser, it throws this error:
Code:
Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed.
Then the browser crashes. This happens in both Safari and Firefox on Mac.
The code I'm using to load the images is pretty standard (I think):
Code:
loader = new Loader();
loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, progressHandler, false, 0, true);
[Code].....
View 9 Replies
Apr 29, 2011
In CS5 I get the above message. I need to debug so it's very important. Anything I need to do?
View 2 Replies
Dec 21, 2009
When I first downloaded Flash CS3 Professional, I was able to enter an exceedingly useful debug mode by compiling using ctrl+shift+enter instead of ctrl+enter. I could toggle break points, step in, step over and view values stored in variables at a whim.
I must have accidentally toggled some option somewhere, because this interface no longer shows up. Instead, the only extra interface I get is the output menu with the following text "Attemping to launch and connect to Player using URL <file path> [SWF] <file path> - 71984 bytes after decompression" and while the swf does halt if the as3 code reaches a break point, it doesn't tell me which break point nor give me any options to progress the flow (not even through the pull down menu I have to utilize in order to end the so called debug session).
View 2 Replies
Apr 4, 2009
I have a swf that I need to attach the flex builder debugger to. I have full access to the source code, and can make a debug build of this swf.
However, this swf is being loaded by a non-debug build of another swf which I don't have source code to, and can't make a debug build with.
I've tried mocking this up with two very simple swfs, and while it works fine when both are debug builds, when the outer swf is a non-debug build, while I can get the debugger to connect, I don't get trace messages, breakpoints don't work, and it seems to lock up the flash app.
View 2 Replies
Jan 3, 2012
I have flash installed on my mac 10.6.7 and it's version is 11.1.102.55 (Non-debug).How do i convert it into debug.
View 1 Replies
Dec 27, 2011
I've migrated to FDT from flashdevelop and kind of have a hard time getting things to work the way I'm used to. In Flashdevelop, you could easily choose if the compiled swf was a release or debug version. In FDT however, it seems like there is no way to compile a version that has debugging information without it automatically opening up the debug perspective with a ton of debug windows, a profiler and actually entering debug mode.
As an extra plus, I keep getting a message saying "This feature is only available in FDT Max", although from what I know the debugger is included in the free version. Is there a way to do what I'm trying to do or should I just get used to this new way of working?
View 2 Replies
Aug 5, 2009
I just updated CS4 with the latest patches and it started to crash when I try to publish one of my flashfiles.
The file uses actionscript 2 and worked just fine before the upgrade.
View 4 Replies
Dec 29, 2011
Flash CS5.5 crashes when testing this movie using CTRL-ENTER a few times. Sometimes, a message warning that the Java Virtual Machine is running out of memory appears. I would like to know whether it is the FLA or my Flash installation that is corrupt.
see the following FLA file. [URL]
View 3 Replies
Jan 21, 2009
My flash cs3 is crashing every time I try to publish a file, why? I run vista business 32 bit I didn't have problems until today,using flash cs3 for the[code]...
View 9 Replies
Jun 18, 2009
When trying to view the settings or start que on any .wmv (windows Media Video) file I drag into the flash video encoder, the program immediately crashes. I've tried many different WMV files from different sources, all the same outcome.
View 1 Replies
Jul 18, 2009
We created a flash site, which crashes on IE. It works fine on Firefox.The problem seems to happen when the swf tries to load some MP3 files, with 'Sound.loadSound' method.
View 7 Replies
Jul 28, 2009
I have recently purchased CS4 Design Premium. The installation of all applications went fine (no error message) and all applications work perfect except Flash CS4. On startup I see shortly the stage screen and then the spinning beach ball. I tried uninstalling and reinstalling Flash only with no luck. I then uninstalled and reinstalled the complete Suite and still no luck. I work on a MacPro with 10.5.7. All other system requirements are fullfilled
View 3 Replies
Aug 4, 2009
I've been using Flash CS4 on my MAC running 10.5 for over 6 months with no issues. But now when I open a fla file it opens but when I click anywhere it will crash within seconds. I've restarted my computer and checked that my Flash App is up to date.
View 1 Replies
Sep 15, 2009
When I open the Flash CS4 application, it starts up fine. If I select create new flash file, the entire application crashes. That's as far as I can get. I've made all of the recent updates that I can - it's flash version 10.0.2 ... I'm running OSX v10.4.11
I've tried restarting, that doesn't do anything. I've also tried starting up Flash with nothing else open. Haven't re-installed the entire thing yet (probably what I'll do next).
View 1 Replies
May 1, 2009
just recently upgraded to Leopard. Flash now crashes when opening certain fla's (that worked fine before). The files sometimes open, but then crash the app when I select something on the stage. In these cases I can actually edit the actionscripts.I'm not sure if the crashes are related to Leopard; don't remember if I tried opening one of the problem files since upgrading.I'm on a MacBook Pro 17 2.33, 2gb ram.I repaired permissions (several times), ran various Onyx processes, zapped pram, removed all the prefs files I could find, and reinstalled the whole suite (CS3 Master suite). Bridge won't even open; it crashes on opening.
View 1 Replies
Jul 3, 2010
I'm trying to sort some arrays with the sortOn() function in Flash CS3.. but it always seems to crash itself upon exporting!Do you guys get this too? And is there a way to get around this?
Code:
var ms:Array = [];
ms[0] = [0,1];
[code].....
View 2 Replies
Jun 16, 2000
I've got a 9MB fla file that suddenly doesn't open any more. When I try to open it, it crashes Flash. When I try to open it as a library, it crashes Flash. Someone told me a library object might be corrupted - not good, irreparable. I'm on a Mac and when I try opening the fla file it gives me an "error type 2 occurred." I imported the swf file into a new Flash file, but now it's just a one-layer straight-streaming movie with every frame a completely new, redrawn keyframe. Is there any way to resurrect the original fla file? I've got a Sunday deadline?
View 1 Replies