<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Restful Rails and Flash</title>
	<atom:link href="http://railsontherun.com/2007/04/09/rails-and-flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://railsontherun.com/2007/04/09/rails-and-flash/</link>
	<description>Rails experiments by Matt Aimonetti</description>
	<lastBuildDate>Tue, 23 Feb 2010 22:05:18 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: kadoudal</title>
		<link>http://railsontherun.com/2007/04/09/rails-and-flash/comment-page-1/#comment-1373</link>
		<dc:creator>kadoudal</dc:creator>
		<pubDate>Mon, 09 Apr 2007 07:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://railsontherun.com/2007/04/19/rails-and-flash#comment-1373</guid>
		<description>Hi Matt

Enjoy the sun... ! I am writting from South.. Brittany (La TrinitÃ© s/mer) ... sunny too, but colder..
I appreciated your info .. exactly what I was looking for... I work with Rails but I&#039;m not so aware of AS3 (trying to get it...)
I copied and tested your example.. fine..

question  :  rails.get(&#039;events&#039;, rails_events); how rails returns the event record as we don&#039;t call a controller/action ... ?
I believe doing it RESTFul it&#039;s depending upong your route ? is it not?

problem :  what if the xml returned is not a record, but it has to be prepared by Rails...   I explain

right now my rails view .. I have a javascript object
var obj = &#039;&lt;object...  &lt;param name=&quot;movie&quot; value=&quot;/test/srb.swf?dataSource=&#039; + &#039;test/reprod.xml&#039;..   + &#039;&lt;\/object&gt;&#039;;
document.write(obj);

I would like to replace the datasource file by a direct call to rails from Flash, so this param will disappear... so (ci-orrect me if I am wrong)
1- I need to pass a user_id value in JS to Flash in the script...
2- Flash need to send a request to Rails (controller/action/id to prepare the xml... ) to get in return a correct an xlm object to be displayed</description>
		<content:encoded><![CDATA[<p>Hi Matt</p>
<p>Enjoy the sun&#8230; ! I am writting from South.. Brittany (La TrinitÃ© s/mer) &#8230; sunny too, but colder..<br />
I appreciated your info .. exactly what I was looking for&#8230; I work with Rails but I&#8217;m not so aware of AS3 (trying to get it&#8230;)<br />
I copied and tested your example.. fine..</p>
<p>question  :  rails.get(&#8216;events&#8217;, rails_events); how rails returns the event record as we don&#8217;t call a controller/action &#8230; ?<br />
I believe doing it RESTFul it&#8217;s depending upong your route ? is it not?</p>
<p>problem :  what if the xml returned is not a record, but it has to be prepared by Rails&#8230;   I explain</p>
<p>right now my rails view .. I have a javascript object<br />
var obj = &#8216;&lt;object&#8230;  &lt;param name=&quot;movie&quot; value=&quot;/test/srb.swf?dataSource=&#8217; + &#8216;test/reprod.xml&#8217;..   + &#8216;&lt;\/object&gt;&#8217;;<br />
document.write(obj);</p>
<p>I would like to replace the datasource file by a direct call to rails from Flash, so this param will disappear&#8230; so (ci-orrect me if I am wrong)<br />
1- I need to pass a user_id value in JS to Flash in the script&#8230;<br />
2- Flash need to send a request to Rails (controller/action/id to prepare the xml&#8230; ) to get in return a correct an xlm object to be displayed</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://railsontherun.com/2007/04/09/rails-and-flash/comment-page-1/#comment-1374</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Mon, 09 Apr 2007 07:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://railsontherun.com/2007/04/19/rails-and-flash#comment-1374</guid>
		<description>See the &quot;new post I wrote just for you&quot;:http://www.railsontherun.com/2007/5/7/flash-rails-part2

Matt</description>
		<content:encoded><![CDATA[<p>See the &quot;new post I wrote just for you&quot;:http://www.railsontherun.com/2007/5/7/flash-rails-part2</p>
<p>Matt</p>
]]></content:encoded>
	</item>
</channel>
</rss>

