FileReference.save() Causing Crash?

Hello again all,
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. I did a quick search on google and couldn't see anything though. Anyone have any ideas what's causing it?

Hello all
I am having a similar problem, but different enough to merit it's own post. Any help v. gratefully received:
http://forums.adobe.com/thread/1015728

Similar Messages

  • 4k Pro Res crop/resize causing crash and corrupt recovery save

    Hello,
    I am working on an edit of F55 XAVC 4k footage that has been turned into pro res 422 files for an offline edit.
    The edit calls for a lot of split screen work, and when I resize or use the crop effect, put another layer underneath, and then try to move either layer forward or backward in the timeline, premiere always crashes. I could deal with this, but unfortunately premiere saves the project upon crashing, and when I open it again, it launches into the recovery file, which has the bug still present, which immediately causes premiere to crash.
    Is there a way to turn off this recovery or auto save on crash feature? I just wish to open the file from the last point I manually saved it, but seem unable to do so.
    Also, I have auto save set to save every three minutes but it does not save. Not sure why!
    Any help appreciated.
    Burning time in Boston,
    FIlouza

    Filouza wrote:
    2. Switch project from mercury to cuda render in project settings, under the file menu.
    Thanks Filouza,
    Do you mean switch Project Settings in Renderer > Mercury Playback Engine from Open CL to CUDA?
    Thanks,
    Kevin

  • Save Link As/New Folder/Save/ Causes Firefox to crash

    This was posted 11 months ago and was solved by creating a new user profile.
    http://support.mozilla.org/nl/questions/890781
    Right-click a link and choose 'save link as...' Browse to desired location and click 'new folder' Name the folder and open it click 'save' Firefox crashes -- restart and use the new folder or any existing folder and everything is fine after that.
    Creating a new profile is really not an option for me. (too much work, too many settings)
    A workaround for this problem is starting firefox with the "Run this program as an Administrator" option. So the problem has something to do with NTFS permissions.
    Anyone?

    Hi Nyaz,
    Thanks for writing back with the results, and I am sorry to hear that this issue still persists.
    You mentioned that the problem does not occur when you run Firefox "as an administrator", so it does sound like something related to permissions. It is very strange that it only crashes on a newly created, unused folder. I did some digging around but was not able to find any relevant information.
    I have a couple of questions - they might be just shooting in the dark, but I believe they might be relevant:
    1. Are you logged in as Administrator? I am not sure this would make a difference, since it only crashes on new folders, but it might be helpful information for someone else reading about this.
    2. Is the folder created on a network drive? I have had some issues happen when manipulating files over a network drive.
    I hope that someone with more knowledge of the NTFS might be able to chime in and guide you in the right direction. I'm sorry that I was not able to help you, but I will keep an eye out and get back to you if I come across any possible solution.

  • My screen saver preferences CRASHES!

    So, this is pretty simple.
    I don't have a way to change my desktop background nor my screen saver, cause every time i try to do that. the desktop/screen saver window CRASHES!...
    I tried restarting, I already report the issue with apple... but i don't know what i can do!... I mean, there's a way to fix or to restore that specific part of the OS?
    or, hmmm... i don't know!... I'm very confused!...
    Some other details: I have the "iTunes artwork" screen saver, (i don't know why) but that may be the cause of the crash... maybe it doesn't find a file or a specification...
    THANKS A LOT! =D

    Hi, abrahamca. Welcome to the Discussions.
    You wrote: "I don't have a way to change my desktop background nor my screen saver, cause every time i try to do that. the desktop/screen saver window CRASHES!..."I presume you mean that when you attempt to select the "Desktop & Screen Saver" preference pane in System Preferences, this results in System Preferences quitting unexpectedly.
    If so, try the following:
    1. Quit (Command-Q) System Preferences if it is open.
    2. Trash the following two files in your Home > Library > Preferences folder:
    • com.apple.systempreferences.plist
    • com.apple.desktop.plist
    3. Trash the following files in your Home > Library > Preferences > ByHost folder:
    (a) com.apple.systempreferences.xxx.plist
    (b) com.apple.screensaver.xxx.plist
    (c) com.apple.screensaver.screensaver_name.xxx.plist
    where• xxx is an alphanumeric string, and
    • screensaver_name is the name of a screen saver you have used.Whether preferences files of the type shown in (c) exist depends upon the screen saver and if you have changed its options, if any.
    4. Open your Home > Library > Caches folder, then trash the following two files therein:
    • com.apple.preferencepanes.cache
    • com.apple.preferencepanes.searchindexcache
    5. Empty the Trash.
    6. Launch System Preferences and see if all is well. If so, reset Desktop & Screen Saver preferences accordingly.
    Note that some of the information above is from the "System Preferences" chapter of my book, Troubleshooting Mac® OS X, Tiger Edition.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • Photoshop CS4 and graphic cards. Can cause crashing?

    Since upgrading to CS4 I seem to have increased crashing.
    Here are my system specs.
    Mac 2 x 2.66 GHz Dual-Core Intel Xeon
    9 GB of Ram
    250 GB internal dedicated scratch disc
    NVDIA GeForce 7300 GT with 256 VRAM
    After having endless techs look at my machine and upgrading everything. I am beginning to suspect the graphics card.
    With OpenGL can a underperforming video card cause crashing in photoshop especially with massive file sizes ( multilayered CMYK poster sized files the can exceed 7 GB)?

    Did you install the 11.0.1 update?
    Is your OS up to date with patches?
    Have you tried disabling OpenGL in preferences to avoid using the GPU/Graphics card?

  • HT1386 Hi when I Try to sync it tells me it can not save cause there not enough memory but I have 13 fb left?

    Hi when I Try to sync it tells me it can not save cause there not enough memory but I have 13 fb left?

    Hello, peppertwist. 
    Thank you for visiting Apple Support Communities. 
    When receiving the not enough space alert, he is the best article to go through. 
    iOS: "Not enough free space" alert when trying to sync
    http://support.apple.com/kb/ts1503
    Cheers,
    Jason H. 

  • AutoVue viewer caused crash while viewing .XSLX documents.

    We use AutoVue Desktop Deployment Viewer incorporated in our application (using JNI). When viewing XLSX (Microsoft Excel) documents on Windows 8.1 x64 system it caused crash of application. It's reproducible only on Windows 8 (8.1 or Server2012) systems. If we set compatibility mode (Windows 7) then problem isn't reproducible.

    I would recommend you log a ticket with customer support

  • CC 2014 (18.1.0) | Text Field editing causing crashes (Windows)

    Greetings;
    I've noticed lately that when saving files from CC 2014 to a CS6 format - and having those files edited on Mac, in either CS6 or CC - when re-opening those files text fields have been causing crashes on the Windows client. When that same file is opened and text fields are edited on the Mac client, a prompt will just appear stating "Cannot Edit text" - yet it still allows it.
    This has caused multiple issues for our teams as it has created files we're starting to refer to as "mine fields" - as working with the .ai file is like playing Russian roulette with text fields, you never know which one is going to crash the file.
    I would love to work with a team member from Adobe to help find a resolution to the problem, and I'm willing to provide any additional details that might aid in that process.
    Thanks!

    Hello Pureweb,
    Please upload the crashdumps on some file sharing website say Dropbox and share the link with us by sending a mail to "[email protected]". We will analyze the dump and will suggest you the workaround appropriately.
    In parallel, please check that you do not have any 3rd Party plugins installed in it. Please try to remove them one-by-one and see which one causes the crashes or do reverse i.e. remove all the 3rd party plugins. Or Uninstall Ai and check at following location:
    C:\Program Files\Adobe\Adobe Illustrator CC 2014
    Please verify that nothing is left at above location on uninstalling Ai. Then try a fresh install and see if Ai works.
    Also, verify that you have the updated Wacom drivers on your system. This might be an issue with the 3rd party program as well. One of the user who was having a similar issue reported on the Ai forum that one of the 3rd party Stahl's ImageWorx DTG RIP - a program for printing to a Direct To Garment printer was causing the issue. So, you may check if the similar thing is not happening in your case.
    Regards,
    Dhirendra

  • FileReference.save() file type filter options?

    OK, I’m loving the new access to the FileReference class to load and save XML to the user’s local drive without sending out for pizza first, but I have one minor complaint:
    FileReference.browse() lets me filter the read choices to xml files only, so I can strongly encourage the user to only open files with the proper extension, however, FileReference.save() doesn’t seem to support similar filtering, so the user can save data with any old extension, making it easy for them to accidently hide the saved file from the open dialog box. Am I missing something or is there a user friendly way to match read/write file types.

    I don't believe you can get that functionality using FileReference in Flash Player.

  • Specify file type filter in FileReference.save

    Is there a way to specify the file type filter in FileReference.save()?  It is possible to specifiy a default filename, but the user can potentially override this and the file type extensation can be lost.
    Any other options to work around this, ?

    I don't believe you can get that functionality using FileReference in Flash Player.

  • FileReference.save() method is undefined in Adobe AIR ?

    Hi,
      I am developing  a desktop application using adobe AIR.I need to use FileReference.save() method.But an actionscript error occuring during run time which says save() method is undefined for FileReference and there is no default value.I am running the application in eclipse.Is it due to the version problem of my AIR ? Please reply.

    Hi,
       Thanks for your answer.But I am getting that type of exception while running the application from eclipse.So please suggest a solution for this.

  • Barn doors transition causes crash

    Dear Community,
    Applied barn doors transition to a project in CS4. Stored that project in 2010.
    Opened the project in CS6 CC - and barn doors caused crashes - so I cleaned off the old and applied replacement barn door transitions in CS6 CC.
    Once the wipe is applied - its fairly stable - sometime crashes sometimes doesn't.
    If I apply a broder colour to the wipe - all ok.
    If I then apply a border thickness - crash every time.
    System;
    Premiere Pro CS6 - 6.0.3 (001 (MC: 264587)) through cloud membership
    Updated and current
    Win 7 Pro - SP1 - 64 Bit
    Source footage SONY EX3 - .mp4 and still image .png's
    No error messages - just crash and need to restart PP CS6
    Try to apply colour and border to a barn door transition causes the error
    This worked before on the smae project when created in CS4
    Not running other software at the time
    NewBlueFX modules installed but not applied to this area of sequence
    i7 - 3.20GHz, 16GB RAM, SSD OS drive, 4 x drive RAID on LSI RAID card, - No I/O hardware
    I am using Are you using Mercury Playback Engine Acceleration and CUDA
    Problem occurs during normal edit - as soon as I start to adjust the barn doors wipe - I don't get to compression
    Thanks
    Dave

    Doies it help anyone that I just received this from the email address; [email protected];
    Hello,
    You have received this email because the content you posted below has been rejected by our moderators.
    Re: Barn doors transition causes crash
    posted Jun 5, 2013 5:15 PM  
    Since the original report earlier today - I now just have to put the timeline scrubber over the barn doors transition and PP CS6 closes without an error message and without saving. The unfortunate part here is there doesn't seem to be any record or log of the crashes to be able to disseminate whats going wrong.
      Barn doors worked in CS4 - and the only change in this project is the re-opening in CS6 CC."
    Question; Did I put something in there that was defammatory, rude, obnoxious, incorrect or un-helpful?
    If anyone here believes I did, I sincerely apologise for the need of moderators to have intervened... and for causing any offence.

  • Photoshop CC Content - Aware Move Tool causes crash

    Does anyone have any ideas why this is happening? Content Aware Move tool causes crash every time so far with tiff and jpegs and its getting frustrating!
    I have Windows 8.1 Pro with 8GB RAM
    NVIDIA GeForce GT 650M Graphics
    Photoshop CC 64 bit

    Thanks for the reply JJMack - I have to be honest, i'm not exactly sure what i'm looking for here!
    Source
    Adobe Photoshop CC 2014
    Summary
    Stopped working
    Date
    06/04/2015 09:45
    Status
    Report sent
    Description
    Faulting Application Path: C:\Program Files\Adobe\Adobe Photoshop CC 2014\Photoshop.exe
    Problem signature
    Problem Event Name: APPCRASH
    Application Name: Photoshop.exe
    Application Version: 15.2.2.310
    Application Timestamp: 5480338c
    Fault Module Name: FaceDetection.dll
    Fault Module Version: 2.2.6.32411
    Fault Module Timestamp: 52e12400
    Exception Code: c0000005
    Exception Offset: 000000000001704d
    OS Version: 6.3.9600.2.0.0.256.48
    Locale ID: 2057
    Additional Information 1: e87c
    Additional Information 2: e87c816cbb2acbf5e54624fc2b1f98cc
    Additional Information 3: 1879
    Additional Information 4: 1879b998534215d47b0a850e45784427
    Extra information about the problem
    Bucket ID: 2dac81db98a57fddf5997edfd40ba6eb (85993531415)

  • Screen Saver WindowServer Crashing

    I have a dual 1.42 GHz PowerPC G4 with 2 GBs RAM running 10.4.5.
    When opening Desktop and Screen Saver in System Preferences and selecting anything in that dialog box System Prefs consistently crashes. I would like to prevent the system from going into sleep mode when I have apps that are processing in the background.
    I have run repair permissions and cleared out the cache. Has anyome else had this problem or, more importantly, does anyone know a fix?
    Thanks.
    Please see the System Preferences Crash log below:
    Date/Time: 2006-03-06 10:16:33.287 -0800
    OS Version: 10.4.5 (Build 8H14)
    Report Version: 4
    Command: System Preferences
    Path: /Applications/System Preferences.app/Contents/MacOS/System Preferences
    Parent: WindowServer [84]
    Version: 3.3 (3.3)
    Build Version: 3
    Project Name: SystemPrefsApp
    Source Version: 1260100
    PID: 723
    Thread: 0
    Application Specific Information:
    Desktop &
    Screen Saver v.1.3 (com.apple.preference.desktopscreeneffect)|ScreenSaver|running|GammaWorkSaver
    Exception: EXCBADACCESS (0x0001)
    Codes: KERNPROTECTIONFAILURE (0x0002) at 0x00000030
    Dual 1.42 GHz PowerPC G4, 2 GB AM   Mac OS X (10.4.5)  

    Yes, screen saver preferences crashes immediately when clicking the screen saver preview mode. I am able to get into the desktop preferences. I don't recall the last download before this happened since this has been about a week. All other apps besides ichat, quicktime and the screen saver preference pane are fine and helvetica font is active. Im guessing its probably an issue with one certain application or corrupt file.

  • How to get logic to save a crashed version???

    Hi. Logic keeps crashing when i do things like move loads of audio a few bars later but never seems to save a crashed version. How do i make sure that a crashed version is saved everytime this happens?
    Thanks, Ben

    which version of Logic do you have?

Maybe you are looking for

  • Network Assistant Credential Management

    Hi I use CNA 6.0 to give me an overview of our network, but I have a few small problems. I am in the process of changing access credentials on the switches, but something has gone wrong with my Catalyst 4510E I wasn't able to change the stored creden

  • Digital camera video = memory card

    What is the best kind of memory card for videos ( making a video on a digital camera) & how many GBs should i consider on getting?

  • My media player just stopped working.

    My media player on my Q10 just stopped working. When I try to pla an audio or video file it will play for at most 7 seconds and stop and next the following error msg will be displayed "the file can't be played due to an unexpected error". I have wipe

  • Removing border around Flash content

    I really cant stand what adobe has done to the flash player. They totally messed it up. My question is how do I remove the box/boarder that the new flash player puts around flash content. Go to a site with flash content, once there hover your mouse o

  • SNMP walks from other host

    Howdy Folks, How do i limit SNMP queries from other host outside of the host needed for management? the security team is kicking my butt on this one. Help Cisco 9513 v3.2 and 9506s all the best,