# RoR with flash

**URL:** <https://www.ruby-forum.com/t/ror-with-flash/101707>\
**Category:** Rails\
**Created:** [August 7, 2006, 4:08pm UTC](https://www.ruby-forum.com/t/ror-with-flash/101707 "2006-08-07T16:08:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjkiesch](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/bc79bd/32.png) [@jjkiesch](https://www.ruby-forum.com/u/jjkiesch)\
**Post date:** [August 7, 2006, 4:08pm UTC](https://www.ruby-forum.com/t/ror-with-flash/101707/1 "2006-08-07T16:08:57Z")

</div>

i would like to move a site that i made a while back from php to ruby.  
most of the site was in flash and it just called my php files to  
generate the dynamic text in the flash movie.

i tried the same thing and just had rails generate my text from the  
database but i noticed that i can’t pull anything like  
‘/main/flash\_info’, i have to use the full url:  
‘[http://www.example.site/main/flash\_info](http://www.example.site/main/flash_info)’. on top of that, i can only  
get it to work if the page containing the flash file also has a www. in  
the url.

if i had to guess, i would almost think that having the full url in  
there forces the files to be processed by ruby where making a local call  
just spits out the raw file, or maybe none at all since files don’t  
actually exist at the url given.

has anyone had any experience with this?

---

<div class="post-metadata">

**Author:** ![jjkiesch](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/bc79bd/32.png) [@jjkiesch](https://www.ruby-forum.com/u/jjkiesch)\
**Post date:** [August 7, 2006, 4:33pm UTC](https://www.ruby-forum.com/t/ror-with-flash/101707/2 "2006-08-07T16:33:36Z")

</div>

Josh K. wrote:

> if i had to guess, i would almost think that having the full url in  
> there forces the files to be processed by ruby where making a local call  
> just spits out the raw file, or maybe none at all since files don’t  
> actually exist at the url given.
> 
> has anyone had any experience with this?

I have a small experience with it and wrote an article about rails and  
flash on my blog.

I let you check it out :  
[http://seb.box.re/articles/2006/06/30/flash-and-ruby-on-rails](http://seb.box.re/articles/2006/06/30/flash-and-ruby-on-rails)

–  
SÃ©bastien Grosjean - ZenCocoon
