A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: FP10 breaks FileReference even more?!

  1. #1
    Senior Member joshstrike's Avatar
    Join Date
    Jan 2001
    Location
    Alhama de Granada, España
    Posts
    1,136

    FP10 breaks FileReference even more?!

    So. It was already broken over ssl in Firefox and anytime with a self-signed cert. Fine.

    Question: When Adobe says:
    Any existing content that invokes a browse dialog box using Filereference.browse or FileReference.download outside of an event triggered by user interaction will need to be updated. The dialog box will now have to be invoked through a button, keyboard shortcut, or some other event initiated by the user.
    What the hell do they mean, exactly? How does the player determine this? I mean, does browse() or download() only need to be in a function that takes an event as an argument? Can that argument be null? Can you have another display object create a MouseEvent to fake it? I've got a multiple file uploader running on six live sites right now, in which max simul. uploads is 3, so when a user tries to u/l 10 files, it waits on one to be completed then starts the fourth. If I'm reading this right, file #4 will never upload, because it's not occurring simultaneously with a MouseEvent. ?!!! Can that possibly be true? And what's the hack?

  2. #2
    Senior Member joshstrike's Avatar
    Join Date
    Jan 2001
    Location
    Alhama de Granada, España
    Posts
    1,136
    Okay, so the uploader still works with FP10.
    Not one of the uploads is triggered by a click. The click starts a timer, which tells the first [concurrent#] of FileReferences to upload and then checks once a second to see who's done. So...what's their security patch here? If a TimerEvent will do, then will any event do? What do they mean, how does this work, and why the **** do they have to be so obscure and circumspect about it?
    Last edited by joshstrike; 11-19-2008 at 01:48 PM.

  3. #3
    Senior Member joshstrike's Avatar
    Join Date
    Jan 2001
    Location
    Alhama de Granada, España
    Posts
    1,136
    Nobody wants to weigh in on this one

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center