-
Fix dependency on Rails 3.1+ and Readme
-
Fix dependency on Rails 3.1+ and Readme
-
Fix for Ruby 1.8
-
Refactored in an engine. Rails 3.1+ compatibility only.
-
Any option can be a block, in which case it is called (with the source swf passed as argument)
-
Improved compatibility with Rails 3.0: swf_tag now outputs html_safe content.
-
Got rid of deprecation warning in Rails 2.2+ when using swf_tag in block form.
-
Updated to swf_object v2.2. Change should not be noticeable to users, except compatibility improvements and better auto install. Added the option
switch_off_auto_hide_show
.
-
flashvars will now default to the DOM id of the object. I didn’t want to have any extra defaults than the very basic ones, but there is no easy way to get this from Flash (see www.actionscript.org/forums/showthread.php3?t=136044 ) and no easy way to specify that using
swf_default_options
. -
If flashvars is a string (e.g. “myVar=myValue”) it will be parsed into a hash so that the behaviour for default values apply to strings or hashes. swf_default_options can also be a string and will also be parsed before being merged.
-
Small bug fix: the options passed as hashes (:flashvars, :parameters and :html_options) were changed if swf_default_options[:flashvars, …] existed. They are now left unchanged.
-
Improved the way to specify alternate content
-
Improved javascript initialization
:initialize => [1, 2, 3] # produces in javascript: obj.initialize(1,2,3) instead of ([1,2,3]) # no :initialize produces in javascript: obj.initialize() instead of (null) :initialize => nil # stil produces obj.initialize(null)
-
Bug fix for flashvars in dynamic method
-
File reorganization
-
Bug fix for default options