Agile Web Development

Build it. Launch it. Love it.

FlashObject

Update
Now use the lastest flashobject javascript (ver 1.5)
Update
Solved a little issue with params

This FlashObject Helper is based on the flash view helper plugin http://laszlo-plugin.rubyforge.org/

this plugin give an helper for: http://blog.deconcept.com/swfobject

simply do:

script/plugin install http://lipsiasoft.googlecode.com/svn/trunk/flashobject_helper

and it copy the javascript on your javascripts public dir and any thing.

for add the flash just do:

<%= flashobject_tag "/source/of/your/flash.swf", :size => "350x320" %>

for include the javascript you can add this on your layout (if u don’t have yet)

<%= javascript_include_tag :defaults %>

or if u only need the flashobject

<%= javascript_include_tag "flashobject" %>

Vitals

Home http://blog.lipsiasoft.com/articles/2007/05/30/flash-helper
Repository http://lipsiasoft.googlecode.com/svn/trunk/flashobject_helper
License Rails' (MIT)
Tags Tag_red daddye deconcept Flash FlashObject helper IE lipsiablog lipsiasoft png ssd swf view
Rating (125 votes)
Owner Davide D'Agostino (DAddYE)
Created 23 May 2007

Comments

  • Rob
    6 March 2008

    So is this independant from SwfObject?

  • Avatar
    17 July 2008

    It's based on SwfObject (uses same javascript). Plugin (helper) created different person.

  • Avatar
    8 January 2009

    For anyone that prefers using the newer SWFObject 2.1 library (vs FlashObject's use of v 1.5) and have their swf treated like real assets (e.g. ), head over to swf_fu: http://agilewebdevelopment.com/plugins/swf_fu

Add a comment