Topic: swfobject and extended url weirdness

I'm trying to use swfobject on my site and I got it to work but it only works if the url is a short, non extended url.  It's very strange.  For example I have my routes set up so 'home' goes to 'store/home'.  If i type in 'mysite/home' swfobject works.  If I type in 'mysite/store/home' it does not work.  Same goes whether or not it involves my custom routes.  My use of swfobject is exactly the same on every page.


swfobject Version: 2.2

About your application's environment
Ruby version              1.8.7 (i486-linux)
RubyGems version          1.3.2
Rack version              1.0
Rails version             2.3.2
Active Record version     2.3.2
Action Pack version       2.3.2
Active Resource version   2.3.2
Action Mailer version     2.3.2
Active Support version    2.3.2
Environment               production
Database adapter          mysql
Database schema version   20100313170856

Re: swfobject and extended url weirdness

Well I'm not exactly sure why it wasn't working but some guy's helper method posted here: … toi58j4kha did the job for me.  I think it has something to do with those numbers rails puts after link locations in html.  For example: src="/javascripts/prototype.js?1269483179".  But again, it's working, don't care. :)