selectFile Invalid function name

I'm using SWFUpload 2.1.0 (because 2.2.0 crashes the Flash plugin for some reason), and when I called swfu.selectFile I get "Invalid function name". I checked the DOM (using Firebug) and while all the functions are defined, all of them are set to null... It doesn't make sense.

The site is at http://www.roket-games.com/games/upload/2 .

AttachmentSize
weird_js_bug.png70.13 KB
gyphie's picture

After load

Are you calling selectFiles after the flash movie has finished loading? You have to wait until after the swfuploadLoaded event is fired.

You aren't having caching issues with mixed v2.2.0/v2.1.0?

The problems back..

I had the problem fixed for sometime, and recently it's come back again. Now, swfuploadLoaded event is not firing.

Is there any reason why this would occur?