# Url\_for\_file\_column and Flash swf

**URL:** <https://www.ruby-forum.com/t/url-for-file-column-and-flash-swf/111500>\
**Category:** Rails\
**Created:** [August 8, 2007, 12:15am UTC](https://www.ruby-forum.com/t/url-for-file-column-and-flash-swf/111500 "2007-08-08T00:15:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![newb\_atrails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/76d3ee/32.png) [@newb\_atrails](https://www.ruby-forum.com/u/newb_atrails)\
**Post date:** [August 8, 2007, 12:15am UTC](https://www.ruby-forum.com/t/url-for-file-column-and-flash-swf/111500/1 "2007-08-08T00:15:58Z")

</div>

Hello all,

I am in a bind here…

I have an image uploader on my site which stores one image for a  
specific page (within an admin). So, within the admin, I would go to  
“Pages”, then find the page I want to edit, browse to that page and then  
use the image uploader to upload a single image for THAT page.

The image then gets called and printed using this code in the view:  
\<%= image\_tag(url\_for\_file\_column(“page”, “image”)) %\>

Thats all fine and good, however…

Now I need to use that same process, but have the image called into a  
flash.

The flash movie will be on EVERY page (in the header layout), and will  
need to call the specific page image that we uploaded through the admin.

I am totally confused and don’t know where to start… I am a newb at  
rails, so please be descriptive if you have a solution!

Thanks in advance.
