Skip to main content
Participant
June 22, 2018
Answered

Flash Player 30.0.0.113 breaks FileReference in Firefox Windows

  • June 22, 2018
  • 1 reply
  • 979 views

Hello all,

I manage an app that uses Flash to, among other things, receive file uploads from users. As of the release of 30.0.0.113, file uploads in Firefox Windows are no longer working correctly.

Files do upload... but instead of waiting for the upload to complete before triggering fileRefListener.onComplete, it's just triggered right away. This causes a problem because I need to collect information about the uploaded file after it's processed and not waiting for upload completion means that information is not yet available.

I'm not experiencing this issue on any other combination of OS/browser including Firefox Mac. Any ideas? Thank you in advance for your time and attention.

FWIW here is the basic code:

_root.fileRef = new FileReference();

var fileRefListener:Object = new Object();

fileRefListener.onSelect = function(file:FileReference):Void {

     var uploadUrl = [URL of server side script that receives file];

     _root.fileRef.upload(uploadUrl);

}

fileRefListener.onComplete = function(file:FileReference):Void {

     [actions to take after file upload complete signal is received];

}

_root.fileRef.addListener(fileRefListener);

_root.fileRef.browse(_root.fileRefTypes);

    This topic has been closed for replies.
    Correct answer chris.campbell

    Our team has verified this issue appears to be specific to Firefox 60 (it's reproducible with FP 30 and 29).  The Firefox nightly build (v62.0a1) does not exhibit this behavior.  Our team will follow up with Mozilla.  Thanks for the heads up!

    Chris

    1 reply

    Robert Mc Dowell
    Legend
    June 22, 2018

    Which windows and firefox version? also 32 or 64bit OS?

    alexAuthor
    Participant
    June 22, 2018

    I'm on Windows Home Premium 7, SP1, FireFox 60.0.2 64bit

    I'll ask my clients to provide some version information from their reports... they've heard from a number of Windiws/Firefox users with different configurations and initially felt it would be easier to list the combos where it *doesn't* happen (none so far) than the ones where it does.

    In any case, I'll post the other data when i get it and thank you.

    chris.campbell
    chris.campbellCorrect answer
    Legend
    June 22, 2018

    Our team has verified this issue appears to be specific to Firefox 60 (it's reproducible with FP 30 and 29).  The Firefox nightly build (v62.0a1) does not exhibit this behavior.  Our team will follow up with Mozilla.  Thanks for the heads up!

    Chris