i got code like this:
swfobject.embedSWF("/Content/open-flash-chart.swf",
"my_chart",
"750",
"300",
"9.0.0",
"expressInstall.swf",
{"data-file":"http://localhost:8803/StatisticService/GetOpenFlashChartStatistic_Json?param1=123¶m2=456"}
);
The outcome is, that a request is always made without any additional parameter, except for the first one.. so the request looks like this:
http://localhost:8803/StatisticService/GetOpenFlashChartStatistic_Json?param1=123
Any ideas why all other parameters are not used? I would at least expect some damaged parameter in the call, but it’s simply cut away.
Thank you
You need to url-encode the flashvars that you pass to swfobject — so url-encode the whole data-file url (after you url-encode any of the individual params in the url as necessary):
See http://teethgrinder.co.uk/open-flash-chart-2/tutorial-3.php