Flex :: Why SWF Causing Flash Player To Crash

Aug 6, 2009

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.

View 5 Replies


Similar Posts:


Font Causing Flash Crash On One Machine Only?

Mar 21, 2012

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

View 1 Replies

ActionScript 3.0 :: New Sound Causing Flash To Crash?

Mar 10, 2010

adding this in my class (i name it CGame)

Code:
var ns = new mysound();
ns.play(0,1);

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.

View 1 Replies

ActionScript 1/2 :: Shared Object Causing Flash Application To Crash

May 26, 2009

I have a couple of static functions (one shown below) that can be called from multiple instances; there is a problem because of a shared object I am using.
 
My tracing shows that the application is in this function or the converse function addRec when my application is crashing.
 
[Code]....
 
In another class I have this statement where I set the value of some date in my shared object. I have to comment the following lone of code out in order for the application not to crash after a short while:
 
so.data.rArray = currentRecs;          // the culprit I see the first trace in the removeRec function but then nothing. I expect to see the second trace indicating that the array of current recordings taking place (currentRecs) has been cut back by one.
 
Originally my function was not static and my application crashed very quickly. By making the function static the situation improved insofar as it took longer for the application to crash. Flash seems to be very particular about the way it handles shared objects.

View 5 Replies

ActionScript 1/2 :: Shared Object Causing Flash Application To Crash?

Jan 31, 2004

I have a couple of static functions (one shown below) that can be called from multiple instances; there is a problem because of a shared object I am using.My tracing shows that the application is in this function or the converse function addRec when my application is crashing.
 
public static var currentRecs:Array;
private static function removeRec(recName:String) {        trace("Removing record "+ recName + " from currentRecs");        for (var item in currentRecs) {            if (currentRecs[item] == recName) {                currentRecs.splice(item, 1);                trace("Finished recording " + recName + " currentRecs = " + currentRecs.length);            }        }    }
 
In another class I have this statement where I set the value of some date in my shared object. I have to comment the following lone of code out in order for the application not to crash after a short while:
 
so.data.rArray = currentRecs;// the culprit I see the first trace in the removeRec function but then nothing. I expect to see the second trace indicating that the array of current recordings taking place (currentRecs) has been cut back by one.
 
Originally my function was not static and my application crashed very quickly. By making the function static the situation improved insofar as it took longer for the application to crash.Flash seems to be very particular about the way it handles shared objects.

View 1 Replies

Flex :: Flash Player 10.1 Crash On Shared Object Access

Jun 14, 2010

since updating my Flash Player plugin from 10 to 10.1, I'm seeing a weird crash when accessing shared objects. Flex Builder's debugger pops up and prints a stack trace like this:

undefined
at flash.net::SharedObject$/getLocal()
at my.code::MyClass$/load()[/my/path/to/my/MyClass.as:27]
(...)

This happens when calling SharedObject.getLocal("someString") for the second time for the same string, though it doesn't always crash. When using another browser on the same machine (not configured as the preferred debugging browser in Flex Builder), Flash Player remains silent. The code is wrapped in a try/catch(Error) block which does not catch this error. I'm using Flex SDK 3.5 and Flex Builder 3 on Mac OS X 10.6.3.

View 4 Replies

Flex :: Flash Player 10.1 Causing Sandbox Violation No Previous Version Caused

Jun 19, 2010

Working with a SWf where it's worked all along, loading data from url...But, now, if you switch from Flash Player 10 to Flash Player 10.1, I get the standard security sandbox violation:[code]The crossdomain.xml is still in place and if I downgrade to FP 10 (or earlier), it works as expected.

View 5 Replies

ActionScript 3.0 :: 10b.ocx Error Causing Browser To Crash

Apr 24, 2009

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?

View 11 Replies

ActionScript 3.0 :: FileReference.save() Causing Crash?

May 16, 2011

I'm currently using the FileReference class to allow users of my program to save and load files from their PC. I'm currently trying to get the save function to work (I'll do load later) and it all seems to be working perfectly but while testing it (locally) it crashes Flash Player every time it saves.
 
The code is pretty simple just now (this is contained in an event handler which triggers when the save button is pressed):

var levelData:String = GetLevelData();var outputFileName:String = "NewLevel.txt";
saveFile = new FileReference();
saveFile.addEventListener(Event.COMPLETE, SaveCompleteHandler);
saveFile.addEventListener(IOErrorEvent.IO_ERROR, SaveIOErrorHandler);
saveFile.save(levelData, outputFileName);

And it all works fine - the NewLevel.txt file appears where I want it to and contains the correct data. But as soon as this has completed Flash Player quits and I get the 'Flash Player Quit Unexpectadly' message. There are no errors in the output from my code. The SaveCompleteHandler function has been called and the SaveIOErrorHandler function has not.

Could this be a bug in Flash player? I'm using a Mac and have encountered a few bugs with the Mac version so I wouldn't be surprised if this was another one.

View 1 Replies

Javascript :: As3 ExternalInterface.call Causing Browser Crash

Sep 14, 2011

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.

Flash Code

if(ExternalInterface.available)
ExternalInterface.call('hideTimeline');

Javascript code

function showTimelineFirstPlay()
{
var timeline = document.createElement('span');

[Code].....

View 1 Replies

Professional :: Adobe Download Manager Won't Uninstall - Causing Blue Screen Crash?

Jun 6, 2010

Brand new PC, Windows 7, worked fine for couple of days until I installed Flash Player 10 Active X - now the operating system continually crashes around after 5 mins each time I reboot.Error message"problem starting C:ProgramFiles(x86)NOSingetPlus_Helper.dllthe specified module could not be found"Having search the web, which suggested a possible problem with Flash Player 10 installation, I removed this downloaded this file: uninstall_flash_player.exe  and ran to uninsall), but Adobe Download Manager is still in the list - trying to uninstall the DLM just gives the same error message as above.

View 3 Replies

ActionScript 2.0 :: Foolproof Way To Crash Flash Player?

Nov 19, 2010

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)?

View 1 Replies

ActionScript 3.0 :: Flash Player Crash After Closing SWF

Dec 22, 2010

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:

[Code]...

View 5 Replies

ActionScript 3.0 :: Simple New Code Causes Crash In Browser, Not In Flash Player?

Mar 7, 2012

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.

View 6 Replies

ActionScript 2.0 :: Flash Player Causing Syntax Error

Aug 29, 2006

I have downloaded a component using the duplicate symbol function, it works fine when published with Flash Player 7 but when I try to update it to Flash Player 8 and publish it produces this error message:[code]

View 3 Replies

ActionScript 3.0 :: FileReference - Flash Player Crash Loading Large Files

Sep 16, 2011

I'm trying to load a local file using FileReference load(). It will load small files just fine, but when I try to load a file of around 4-80 megabytes the flash player will crash. I read the load method officially supports up to 100 megabytes.

Here is the exact class I'm using to test:
ActionScript Code:
import flash.events.Event;
import flash.events.IOErrorEvent;
import flash.events.ProgressEvent;
import flash.net.FileReference;
import flash.net.FileFilter
[Code] .....

View 1 Replies

Professional :: Flash Player 10.3.1832.5 Causing Webpage To Blank?

Aug 22, 2011

Since recent versions of Flash have come out (perhaps the last few weeks), when loading up the website, [URL] , the flash loading bars show, various SWF files in their layer appear, but then when loading completes, the web page goes blank (usually black, sometimes white).

This occurs on Windoes 7 (64), Vista and XP. It occurs in IE9, IE8, and various Firefox browers. So, I am comfortable believing that it is a recent Flash player issue.
 
The HTML page loads a file "back.swf" which in turn loads "menu_eo.swf" in level 10 and "intro_eo.swf" into level 5.
 
What it looks like is that when the intro page finished loading and moves to the correct frame, the screen goes blank.
 
My clients rarely update their Flash Player, but I asked them to do so this morning. They had the same problem in all those other browser and operating system after updating to Flash Player 10.3.1832.5.

View 3 Replies

ActionScript 2.0 :: A Script In This Movie Is Causing Flash Player To Run Slowly?

Mar 28, 2007

I'm externally loading some pretty large swfs (4MB - 5MB) into my main swf using a preloader from a tutorial on this site.

[URL]

As the swfs are loading i'm getting a pop-up window saying "A script in this movie is causing Adobe Flash Player 9 to run slowly. If it continues to run, your computer may become unresponsive. Do you want to abort the script?"if i click "no" everything continues to run fine. if i click "yes" my movie freezes in the middle of loading with the progress bar stopped at whatever percentage has already loaded.After perusing the forums, it seems that an infinite loop is causing this, but I don't know enough about actionscript to track it down.

publishing as flash 6 makes it so the preloader doesn't even show up and nothing plays. I need to publish as flash player 7 or lower.what is causing this pop up window and how do i get rid of it?

[code].....

View 1 Replies

ActionScript 3.0 :: Mouse Movement Causing Flash Player Slowdown

Oct 1, 2009

I am struggling with an issue at the moment related to mouse events or more specifically mouse movement. I have found that moving the mouse in my game causes it to slow down. Rapidly moving the mouse can actually freeze the game, I believe EnterFrame events are actually dropped when the mouse is moving rapidly.

I thought at first that it must be something I coded incorrectly so I used the Flex 4 Beta's performance tools and analyzed the Flash 10 SWF that I build using Flash CS4. Mouse Events were the leading performance hog by far.

Whenever the mouse moved the CPU usage would skyrocket. I then tried an empty Flash App with no Actionscript, I had the same CPU spike.

So if I'm getting this problem with a Blank SWF how come I don't see this problem talked about all over the internet, how is every other Flash Developer not running into this problem?

View 10 Replies

Flash 10 :: Not Work Correctly In Chrome And Will Ultimately Crash The Flash Player

Jan 20, 2012

If you set a .swf with wmode transparent mode and register the Event.RESIZE in it. It will not work correctly in Chrome and will ultimately crash the Flash Player. Of course same thing in FF, EI or any other browser works like a charm. Setting wmode to window fixes the problem but anyone knows a work around with wmode set to transparent?

View 0 Replies

Professional :: Flash Player 10.2.159.1 Standalone Application CRASH With High Graphical Processing

Apr 16, 2011

Flash Player  10.2.153.1and  Flash Player  10.2.159.1 are crashing my standalone application. Later with  version 10.1 the application run ok, never crashes but was taking more than  90% CPU. The  new Flash Player solve the problem of resources, and drop down CPU to  30%, but  the application crashes always after a while, unespectly, or if I open the window of other application.
 
In  the other hand when I disable the harware acceleration at the swf  settings, the application goes crazy and start to make rapid flashes, and frame rate goes down to 8. [URL]. Right click on the Flash logo, Settings,then UNcheck the hardware acceleration in Display Settings.)
 
I'm  on a Mac Mini Core 2 Duo with Mac OS X 10.6.7 (the last Snow Leopard  these days). The graphical card is Nvidia GeForce 9400M.
 
I  did test the application at a Mac Book Pro core i5, Mac OS X 10.6.7,   graphica card Nvidia GeForce GT 330M and the application is more  stable but finally crashes too.
 
Finally if I export my application  with GPU Hardware acceleration at Publish Settings, my application  crashes almost inmediatly after I open it in each of the computers.
 
My guess is that the new Flash Version is using my graphical proccesor in a corrupted way.

View 6 Replies

ActionScript 3.0 :: Flash Debug Player Causing TypeError Error 1009?

May 6, 2010

I'm receiving the following error when trying to access a property of my array. TypeError: Error #1009: Cannot access a property or method of a null object reference.The value I'm accessing works completely fine but the error above pops up when using the flash debug player only. My Firefox uses the flash debug player, Player Version: WIN 10,0,45,2 Debug Player: Yes. My IE which doesn't receive the error uses Player Version: WIN 10,0,45,2 Debug Player: No. The Player version info received by vising the flash version test page.

I'm using a custom event that gets dispatched from a class that makes a web service call.The web service call returns JSON data which I convert to an Object using JSON.decode from adobe corelib. After I have the Object, I use the below code to create an array from the Object.

Code:

//casts the right property to an array which has no problems
var resultArray:Array = e.object.data as Array;
//Accessing the value causes the debug player error
output_txt.text = (resultArray.length.toString());

View 4 Replies

ActionScript 2.0 :: A Script In Movie Is Causing Macromedia Flash Player 7 To Run Slowly?

Mar 15, 2011

i facing error on flash swf when i run my swf long time minimum then 8hr after some time it will raised following error now more surprise it that it's not coming every time and also not coming in all PCs (even same configuration PCs) "A script in this movie is causing Macromedia Flash Player 7 to run slowly. If it continues to run, your computer may become unresponsive. Do you want to abort the script?

View 9 Replies

ActionScript 2.0 :: Get The Error "'A Script In This Movie Is Causing Flash Player To Run Slowly?

Aug 3, 2010

I have a basic movie, where on the main timeline i have a series of stops to pause the movie,so the user can choose to proceed by selecting a play button. When the play button is pressed it plays a video. While it is playing this video there is also a button on stage allowing the user to skip to a frame label. I also have drop down menu on the same frames the play button is on in the form of a movie clip.This drop down menu contains buttons which navigate to the main timeline, to different frame labels.

But after selecting a few buttions (using the menu in the movie clip or not) I get the error "'A script in this movie is causing Flash Player to run slowly. If it continues to run, your computer may become unresponsive.

View 7 Replies

ActionScript 2.0 :: False Loop Error "A Script In The Movie Is Causing Macromedia Flash Player 6 To Run Slowly?

Nov 26, 2002

On very slow machines (>p200Mhz) I sometimes get an error that says "A script in the movie is causing macromedia flash player 6 to run slowly. If it continues to run, your computer may become unresponsive. Do you want to abort the script?" Yes, No.

I have a loop function that populates a listbox, sometimes the file it loops from is over 2000 lines, and takes a long time for the listbox to populate. In this time I get the error. If I hit No on the error everything works just fine. I am almost for sure there is no problem with my script, flash just thinks the loop is set to infinity or something and pops open the error box.

View 2 Replies

Professional :: Script In Movie Causing Adobe Player To Run Slowly

Apr 8, 2010

My computer jsut keeps freezing, before it completely does this message appears: (I am not playing any movies - I just reinstalled my whole operating system, so its not like I doing tons of things on when this happen, if I open more than one page - things just freeze and even with one page it takes forever to get to anything. A script in this movie is causing Adobe Player 10 to run slowly, your computer maybe become unresponsive, do you want to abort the script.

View 3 Replies

Flash :: BlazeDS Generated Files Causing Flex Compiler To Fail

Feb 7, 2012

I have a project that I need to develop some Java code for. The project is using Flash and BlazeDS. For the initial build of the project, an Ant script is run that eventually runs what I believe is the Flex compiler (the sdk attribute points to a FlashBuilder 4 sdk/4.1.0 directory).

View 1 Replies

Actionscript 3 :: Calling Functions In Functions And Avoiding The Player To Crash / Hang?

Oct 6, 2011

I have a series of calculations i'm doing over a bunch of objects stored in a array. Each function is pretty CPU demanding but if you only run one function, it just works fine.

[Code]...

View 2 Replies

Flex :: Initialization Order Of Static Variables In Flex Causing Bug?

May 10, 2011

I've got a component written for my app by a third party developer and am trying to integrate it, but I've found a bug that seems like it's either a compiler bug, or there's something with how Flex and static variables work that I wasn't aware of.Basically, I have this:

public class ModeChangeController {
public static const DISPLAY_MODE:String = "DisplayMode";
}[code]...

If I use //V2 (i.e. comment out V1), a bug occurs at the startup of the application (some TextFields are uneditable and contains no text), but with //V1 and not V2, it works fine. If I comment out both, that also works fine (I don't get the TextField bug).It took me a while to figure out that it was that static const String that was causing the issue, but I'm still not sure why or if there's something I can do about it except for just moving the DISPLAY_MODE to Events (which is what I've done at the moment, but it's not a particularly nice solution).There are no errors in the log. The order of the includes in my BorderContainer code doesn't matter. I've googled for "as3/flex static initialization order" but haven't found anything.

Clarification: showInitialView() never gets called. It doesn't get there before the other bug shows up. Just having the V2 line there causes the problem.

Update: I've fixed my problem with the TextInput strings not showing: Turns out that adding the component caused the Tahoma font to not show up. However, setting the font-weight to bold fixed that problem, or switching to Arial. With that said, the original question still stands, because when I ran it without V2, it found Tahoma with normal font-weight.

View 1 Replies

Flex :: Itemrenderer Crash When Selected?

May 27, 2011

have an advanced datagrid with a simple custom mxadvanceddatagriditemrenderer. I want the renderer to only display an image when the row is hovered or selected. Right now I am doing that by using the excludeFrom="normal" tag on my image.

It works fine (minus the selected state, it disappears when selected) when I have the states hovered and normal defined. When I try to define a selected state, upon row click I get the following error:

RangeError: Index 0 is out of range.
at spark.components::Group/checkForRangeError()[E:dev4.xframeworksprojectssparksrcsparkcomponentsGroup.as:1106]
at spark.components::Group/setElementIndex()[E:dev4.xframeworksprojectssparksrcsparkcomponentsGroup.as:1265]

[code]....

View 1 Replies







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