In my case, I want to change post_params to send dynamic value from input form. I've tried to change settings by set through the swf object. Following code is example I've done:
var swfu = new SWFUpload(settings);
I change settings with this code:
swfu.settings.post_params.my_var = value
Something like this but my_var doesn't send to php script.
PS. I'm not good in English. Sorry, if make you confuse. Thanks in advance.
February 8, 2010 - 11:18am
Use the methods (they are all in the Documentation) for changing the settings. Just changing them in the JavaScript directly (like you've done) doesn't allow SWFUpload to send them to the Flash Movie.
You need to call swfu.addPostParam(name, value);
http://demo.swfupload.org/Documentation/#addPostParam