google-code-export / swfobject

Automatically exported from code.google.com/p/swfobject
1 stars 1 forks source link

Critical error on param data-file #466

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have this code:

swfobject.embedSWF(
            "/includes/open-flash-chart.swf", "chart", "700", "550","9.0.0",
            "/includes/swfobject/expressInstall.swf",
{"data-file":"/cgi-bin/koha/estadisticas/colecciones_data.pl?
ui=sdf&item_type=sdfsdf"}
 );

But sfwObject just do the following post:
/cgi-bin/koha/estadisticas/colecciones_data.pl?ui=sdf

So, with the char "&" i can't send params to the render JSON data...

Original issue reported on code.google.com by gasp...@gmail.com on 4 May 2010 at 5:51

GoogleCodeExporter commented 9 years ago
please post authoring questions to the swfobject list before posting a bug 
report.

You just need to escape your variable(s), as flash delimits flashvar variable 
with the 
& character. Unescape them inside flash after loading.

Original comment by aran.rhee@gmail.com on 5 May 2010 at 12:18