<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Rails helper for SWFObject</title>
	<link>http://blog.vixiom.com/2007/06/05/rails-helper-for-swfobject/</link>
	<description>The Vixiom Blog :: Flex &#38; Flash on Rails</description>
	<pubDate>Mon,  1 Dec 2008 23:25:23 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
		<item>
		<title>By: luo</title>
		<link>http://blog.vixiom.com/2007/06/05/rails-helper-for-swfobject/#comment-60011</link>
		<dc:creator>luo</dc:creator>
		<pubDate>Mon, 18 Aug 2008 10:03:16 +0000</pubDate>
		<guid>http://blog.vixiom.com/2007/06/05/rails-helper-for-swfobject/#comment-60011</guid>
		<description>i hava a error 
SWFObject is not defined
[Break on this error] var so = new SWFObject("/swf/FileUpload_5.swf", "flashcontent", "400", "200",...
please help me.
thank you</description>
		<content:encoded><![CDATA[<p>i hava a error<br />
SWFObject is not defined<br />
[Break on this error] var so = new SWFObject(&#8221;/swf/FileUpload_5.swf&#8221;, &#8220;flashcontent&#8221;, &#8220;400&#8243;, &#8220;200&#8243;,&#8230;<br />
please help me.<br />
thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alastair</title>
		<link>http://blog.vixiom.com/2007/06/05/rails-helper-for-swfobject/#comment-46547</link>
		<dc:creator>Alastair</dc:creator>
		<pubDate>Fri, 28 Mar 2008 13:52:11 +0000</pubDate>
		<guid>http://blog.vixiom.com/2007/06/05/rails-helper-for-swfobject/#comment-46547</guid>
		<description>@jakes did you remember to put SWFObject in 'public/javascripts'? and put &lt;%= javascript_include_tag "swfobject" %&gt; in your app's layout?</description>
		<content:encoded><![CDATA[<p>@jakes did you remember to put SWFObject in &#8216;public/javascripts&#8217;? and put < %= javascript_include_tag "swfobject" %> in your app&#8217;s layout?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jakes</title>
		<link>http://blog.vixiom.com/2007/06/05/rails-helper-for-swfobject/#comment-46500</link>
		<dc:creator>jakes</dc:creator>
		<pubDate>Fri, 28 Mar 2008 09:00:02 +0000</pubDate>
		<guid>http://blog.vixiom.com/2007/06/05/rails-helper-for-swfobject/#comment-46500</guid>
		<description>hi 
  it shows This website requires Flash player 8 or higher.
 "transparent", :quality =&#62; "high"},
        {:myvar1 =&#62; "foo1", :myvar2 =&#62; "foo2"},
        true) %&#62;
 i put this in my rhtml file  and i installed flv player also but the problem is remain 
 plz help me i  have to deliver my site 
 thanks
jakes</description>
		<content:encoded><![CDATA[<p>hi<br />
  it shows This website requires Flash player 8 or higher.<br />
 &#8220;transparent&#8221;, :quality =&gt; &#8220;high&#8221;},<br />
        {:myvar1 =&gt; &#8220;foo1&#8243;, :myvar2 =&gt; &#8220;foo2&#8243;},<br />
        true) %&gt;<br />
 i put this in my rhtml file  and i installed flv player also but the problem is remain<br />
 plz help me i  have to deliver my site<br />
 thanks<br />
jakes</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henrik N</title>
		<link>http://blog.vixiom.com/2007/06/05/rails-helper-for-swfobject/#comment-32991</link>
		<dc:creator>Henrik N</dc:creator>
		<pubDate>Wed, 10 Oct 2007 15:43:42 +0000</pubDate>
		<guid>http://blog.vixiom.com/2007/06/05/rails-helper-for-swfobject/#comment-32991</guid>
		<description>Made a helper for SWFObject 2.0. Would write it up in my own blog, but I've yet to write full docs and tidy it up some more. Since I somewhat doubt I'll ever get around to that, I'll dump it here for now :) http://pastie.textmate.org/private/nu0hpwxmtcx0toi58j4kha

Takes hash arguments (for everything but the src), encodes flashvars properly.

Used your default placeholder text; hope you don't mind.</description>
		<content:encoded><![CDATA[<p>Made a helper for SWFObject 2.0. Would write it up in my own blog, but I&#8217;ve yet to write full docs and tidy it up some more. Since I somewhat doubt I&#8217;ll ever get around to that, I&#8217;ll dump it here for now :) <a href="http://pastie.textmate.org/private/nu0hpwxmtcx0toi58j4kha" rel="nofollow">http://pastie.textmate.org/private/nu0hpwxmtcx0toi58j4kha</a></p>
<p>Takes hash arguments (for everything but the src), encodes flashvars properly.</p>
<p>Used your default placeholder text; hope you don&#8217;t mind.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Becker</title>
		<link>http://blog.vixiom.com/2007/06/05/rails-helper-for-swfobject/#comment-26732</link>
		<dc:creator>Scott Becker</dc:creator>
		<pubDate>Tue, 05 Jun 2007 22:35:47 +0000</pubDate>
		<guid>http://blog.vixiom.com/2007/06/05/rails-helper-for-swfobject/#comment-26732</guid>
		<description>It mostly formatted. Left off the beginning, which was


swf_object(
  :src =&#62; "/swfs/myswf.swf",

...etc</description>
		<content:encoded><![CDATA[<p>It mostly formatted. Left off the beginning, which was</p>
<p>swf_object(<br />
  :src =&gt; &#8220;/swfs/myswf.swf&#8221;,</p>
<p>&#8230;etc</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Becker</title>
		<link>http://blog.vixiom.com/2007/06/05/rails-helper-for-swfobject/#comment-26731</link>
		<dc:creator>Scott Becker</dc:creator>
		<pubDate>Tue, 05 Jun 2007 22:34:18 +0000</pubDate>
		<guid>http://blog.vixiom.com/2007/06/05/rails-helper-for-swfobject/#comment-26731</guid>
		<description>Good idea... This probably won't format as nicely as I'd like, but we'll see. I'm a big fan of named arguments, like most rails methods have, so you don't have to remember the order of things. (Which is first? height or width, etc). So, for a nice rails-esque API, you could design it to be called it like this:

 "/swfs/myswf.swf", 
  :id      =&#62; "flash_id", 
  :width   =&#62; "550", 
  :height  =&#62; "400", 
  :version =&#62; "9", 
  :bgcolor =&#62; "#000000",
  :params  =&#62; {:wmode =&#62; "transparent", :quality =&#62; "high"},
  :vars    =&#62; {:myvar1 =&#62; "foo1", :myvar2 =&#62; "foo2"}
) %&#62;

Just a thought.</description>
		<content:encoded><![CDATA[<p>Good idea&#8230; This probably won&#8217;t format as nicely as I&#8217;d like, but we&#8217;ll see. I&#8217;m a big fan of named arguments, like most rails methods have, so you don&#8217;t have to remember the order of things. (Which is first? height or width, etc). So, for a nice rails-esque API, you could design it to be called it like this:</p>
<p> &#8220;/swfs/myswf.swf&#8221;,<br />
  :id      =&gt; &#8220;flash_id&#8221;,<br />
  :width   =&gt; &#8220;550&#8243;,<br />
  :height  =&gt; &#8220;400&#8243;,<br />
  :version =&gt; &#8220;9&#8243;,<br />
  :bgcolor =&gt; &#8220;#000000&#8243;,<br />
  :params  =&gt; {:wmode =&gt; &#8220;transparent&#8221;, :quality =&gt; &#8220;high&#8221;},<br />
  :vars    =&gt; {:myvar1 =&gt; &#8220;foo1&#8243;, :myvar2 =&gt; &#8220;foo2&#8243;}<br />
) %&gt;</p>
<p>Just a thought.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
