ActionScript 3.0 :: Code Seems To Crash Flash And Broswer
May 2, 2010
I am new to as3 although i have a little bit of knowledge of as2, which i think is being more of a hindrance than a help, so be gentle my flash movie compiles without any errors and also debugs without errors, but when I play swf file and move over the assets it frequently crashes the program running the swf, be it Flash itself or a browser.the FLA is very large but here is the code and a link to the swf.[code]
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 would like to know if it is possible (more so if it is probable) that poor action script could be causing Internet Explorer to crash intermittently during use of the flash application (see attached image). IE reports this: "The following add-on was running when this problem occurred: file: Flash10a.ocx."/This crash has never happened during developing the flash application, but it has happened to the client on XP and Vista in both IE 6&7 on several computers. This is the only information they have provided to me, although I did request more information.I have seen many posts where people blame this crash on bad installs or upgrades of the flash player, but I am shying away from this because it has happened on so many computers.Is it possible that action script code causes this crash?
If so is it possible that it could be anything other than a memory leak?How much concern does everyone take to make sure they are removing references to objects and setting objects to null so that they can be garbage collected?
I recently uploaded my website graphicdesignnz.co.nz onto the server and noticed that the external swfs were not being loaded into the site� first I thought I had a linkage problem but then my friend tested the site on Opera and it worked fine!
If you try navigate around, the url window will change to etc etc and the back and forword button seem to be working also, if you copy and paste the link, the flash will be smart enough to go to the indivual page alsoMy question is s below1) how do we make the back & forward button to work2) how do we contruct the url to be so dynamic
I would like to know if it is possible (more so if it is probable) that poor action script could be causing Internet Explorer to crash intermittently during use of the flash application (see attached image). IE reports this: "The following add-on was running when this problem occurred: file: Flash10a.ocx."This crash has never happened during developing the flash application, but it has happened to the client on XP and Vista in both IE 6&7 on several computers. This is the only information they have provided to me, although I did request more information.I have seen many posts where people blame this crash on bad installs or upgrades of the flash player, but I am shying away from this because it has happened on so many computers.Is it possible that action script code causes this crash?
I would like to use an XML-driven menu on my site and everything works fine so far, but the XML is connected to a CMS, meaning new menu items can be created through the CMS and added to the Flash menu. That's works, too. Here is the problem: Browsers usually caches XML files,to modify the line where Flash retrieves the XML file:e.g. instead of getting: 'menu.xml'. It should more look like this: menu.xml?'+Math.random(),(or whatever is the exact syntax for a random number is in AS. This would kill the cache, correct?Here is the AS code:
// declare the package package com { // import the needed AS packages
I have a standalone flash app that needs to get user inputand send it to a remote server / database. When I use the methodbelow, a browser window opens which I don't want to happen - I wantthe data to be sent but not display the page.
I have one particular FLA that is crashing every time I try to compile (after switching to Snow Leopard). Flash just stalls and I am forced to use "Force Quit"... I have no idea what could be causing this and I cannot find any crash report. Where on the system does Flash put crash logs?
Installed Flash CS3 for the first month and everything was working ok. But mayhem kicks in the last couple of days when i tried to publish my document. it just keep crashing. i tried creating a new document with just one line of text and it still crash upon publishing. I uninstall the program, run winCS3Clean and install the program, THRICE, but the problem just wouldnt go away. this is very frustrating.
Flash CS4 is crashing every time I attempt to import a collection of jpegs to the library.I've tried small groups (crashes eventually), running in obselete compatibility modes...This seems common (though no fix I've seen actually works) - is there an appliccable FAQ?
Does it happen to anyone else when you edit anything in the preferences window that Flash CS5 crashes? I've reinstalled the program as well.. any tips I can try?
I have a project I'm trying to compile with alchemy. It will compile .o and .a files, but when trying to create a .swc, it will fail. It appears to crash with this error:
I have decompiled CS3 fla's and I am trying to publish them as CS4 files. I have Flash CS4 installed on my computer. Some of my files will publish but not all of them will. It is getting rather frustrating trying to publish these files while all I have changed is the text. Although as you must know, the text is now a graphic(from the Flash Decompiler), so I am now trying to publish the new file and it crashes. It does save as an fla but will not before a swf.
I know the message boards keep saying to uninstall Flash CS4 and re-install CS3 but this is not an option for me.
Long story short, I'm having my SWFs packaged by a 3rd party projector wrapper. That wrapper's "quit/exit" functionality appears to be broken. So I figured, why not just force a crash when I want to exit (triggered by user input)?
I have an issue whereby a new font (FFF Forward variant) installed on some machines works perfectly in flash (cs5.5) but on one machine causes an instant crash when the Type Tool is used.I know the font is the core of the problem but am unsure why it works on some flash installations (same versions) and not others?
I have tried every conceivable way of uninstalling/installing the font (even cmd prompt and safe mode!)I have flushed preferences files (obv inc typesupport folder)I have re-installed flash!I have even tried copying the prefs files from one of the working installations to the troublesome machine.I have run font verification and repair tools (nexus font, font creator, font val, font doctor, font lab...)No joy, still crashing
Today one of our artists started experiencing a crash in Flash CS4 Professional when scrolling the workspace around in one of his .fla files. All he has to do is hold down the spacebar and scroll around with the mouse; or use the scrollbars to scroll around. It has crashed about 10 times in the last hour, and we copied the file over to another machine and saw the crash there as well. We've only seen it occur with one particular file.
The machines are both Intel Core i7 machines with 8GB of RAM and two different video cards, one running Windows 7 and the other running Vista; and the crashes cause the Adobe "let me report this crash to the mothership" dialog box, so I don't think it's video card driver related; I think it's just a bug in Flash Professional. We're running version 10.0.2 with no updates available to Flash Professional when choosing "Updates..." from menu.
opening included templates in Flash CS5 and then telling the program to test the movie within the environment shows Flash trying to export an SWF file and then crashes. the program will alllow the movie to be played inside the environment, however.
debugging yields the same crash:
Problem signature: Problem Event Name: APPCRASH Application Name: Flash.exe Application Version: 11.0.0.485 Application Timestamp: 4badda9d
[code]....
DW opens and using one of its templates, no problems so far.Read about <supposedly> certain .Wacom tablet drivers and flash...don't have any such device installed, but stopped the generic windows tablet service....no change in the problem.
I recently installed the CS5 Master Collection on my MacPro for work. I need to use Flash CS5 in order to work on some projects in the office, however I'm encountering several issues that make it near impossible for me to use the software. First of all, when I start the program and select "New..." and select any type of new file, I'm greeted by nearly every button being greyed out, to where I cannot select them. I've found out that I can make these buttons usable by changing my workspace in Flash.
The issue that's causing me trouble is that whenever I select any sort of "Drawing" tool, Flash CS5 crashes immediately. Whenever I click on the line, pen, circle, rectangle, pencil, or brush tools, CS5 freezes briefly (about 2-3 seconds) and then immediately closes. I can still use tools such as the Pan tool, zoom, text, and selection tool. Also, whenever I select the Spray Can tool, I get the following error: Unable to load the script. The file <filepath>/ProScripts/sprayBrush.jsx does not exist.
I have already tried updating my system, updating every Adobe product on this machine, reinstalling, and even using a seperate installation CD, but everything thus far has yielded the same results. Info on my system: MacPro running OS X V. 10.6 2 x 2.26 GHx quad-core proocessors 12 GB DDR3
Flash CS4 frequently crashes after trying to test my movie. I have a MacBook Pro OS 10.5.8. I have updated Flash CS4 as well. Here are the problem details in the crash report.
I've got a flex-based swf, which is loading an AS 2-based swf and then, negotiating further activity via a LocalConnection. From time to time, the AS 2-swf can request that the flex-based swf load a movie. I've arranged this via on(release){} functions. The AS 2-swf, I'm making in Swish Max. In Swish, when I set the on (release) on a text field, (to invoke .send() on my localconnection), it works splendidly. However, when I attempt to perform the same calls for an on(release) attached to a movieclip, it actually causes the Flash player, and even the browser plugin to crash. In fact, the browser (IE) crashes as well. I checked the debug trace that ie asked me to send to microsoft at the last IE crash, and i noticed a StackOverflow exception embedded deep in the trace, but I couldn't determine its source.
This is a AS3 project created in FlashDevelop. It targets flash player 10.[code]...
create such a strange loop and error? I´ve been trying to solve it all day. Maybe some kind of settings in FlashDevelop or parameters to the MXMLC compiler?
I've been very confused about how to use bitmapdata. Is it possible to turn a vector image into a bitmap in order to use BitmapData.hitTest method on it? and how would I go about that?
I've read several documents and I am still very confused. Can somebody walk me through this?
I've tried using hittest on prexisting bitmaps and it causes Flash CS5 to crash even though its the most up to date version.
I have a project that I have bee working on for quite a while, and just recently it began doing strange things. Anytime I try to edit a button symbol, Flash crashes immediately.
For example, if I go into the button symbol editing mode, it will be fine. But as soon as I move the play head to the overstate key frame, the whole program just disappears.
makes flash cs4 crash. But not if it added to timeline/stage.I tried making new class with different name, then adding the code, and it works.So it just fails on CGame.
so I was having this weird phenomenon in a rather complex flash app, that even though the app worked fine and didn't throw any errors, it just crashed the flashplayer upon closing the SWF... I first thought that there was something in my code, that I was doing something wrong in my code, but I now have my app stripped down to this: