使用方法 var map_chart = new SWFObject("/ChinaMap.swf", "ply", "600", "500", "10", "#E2F3FD"); map_chart.addParam("allowscriptaccess","always"); map_chart.addVariable("title", "区域粉丝分析图"); /* url 链接不能带get参数 */ map_chart.addVariable("xmlurl", '{{ map_url }}'); map_chart.write("chart_map");