YUILibrary - Open source JavaScript and CSS for building richly interactive software.
Fork YUI on GitHub
  [ 2 posts ]

Konstantin Salavatov

  • Username: salavatov
  • Joined: Sun Nov 22, 2009 10:02 pm
  • Posts: 1
  • GitHub: salavatov
  • Gists: salavatov
  • IRC: salat
  • Offline
  • Profile

YUI Uploader : show file dialog from script

Post Posted: Sun Nov 22, 2009 10:07 pm
+1-
Hi!
How I could force it show dialog without need to click on overlay? I need to show it immediately upon page load.
Thanks,
Kostya

Kristopher Ives

  • Username: krisives
  • Joined: Tue Aug 11, 2009 5:00 am
  • Posts: 59
  • Location: Salem, OR
  • Twitter: kristopherives
  • GitHub: krisives
  • Gists: krisives
  • IRC: krisives
  • Offline
  • Profile

Re: YUI Uploader : show file dialog from script

Post Posted: Tue Nov 24, 2009 8:43 pm
+1-
I believe this functionality is only available in Flash 8 or earlier, since after that the ability to invoke that dialog required to be spawned from a user input request. This is a very old and beaten horse, and Flash is pretty lame anyhow.

This is done by invoking an ActionScript API or piping script to be executed in the Flash engine. But, as I pointed out before, Flash 9 and later will only honor this if it's generated from a user input event.

Cheers,
Kris
  [ 2 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum