migrated flashobject_helper to swf_fu because the first is not maintained anymore. Fixes #796

This commit is contained in:
Reinier Balt 2010-07-29 21:41:36 +02:00
parent bb23a4acba
commit 65ecb7b019
26 changed files with 737 additions and 158 deletions

View file

@ -1 +1,6 @@
<%= flashobject_tag "open-flash-chart.swf", :query_params => { 'width' => width, 'height' => height, 'data' => data}, :size => "#{width}x#{height}", :parameters => { 'allowScriptAccess' => 'sameDomain', 'wmode' => 'transparent'}, :class_name => 'open-flash-chart', :flash_id => 'chart' %>
<% @swf_count ||= 0 -%>
<div class="open-flash-chart"><%= swf_tag "open-flash-chart.swf",
:flashvars => { 'width' => width, 'height' => height, 'data' => data},
:parameters => { 'allowScriptAccess' => 'sameDomain', 'wmode' => 'transparent'},
:div_id => "chart_#{@swf_count+=1}",
:size => "#{width}x#{height}" %></div>