# SWF player tracks are 'undefined'

**URL:** <https://www.ruby-forum.com/t/swf-player-tracks-are-undefined/166124>\
**Category:** Rails\
**Created:** [April 22, 2009, 3:30am UTC](https://www.ruby-forum.com/t/swf-player-tracks-are-undefined/166124 "2009-04-22T03:30:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rubio](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/a88e4f/32.png) [@rubio](https://www.ruby-forum.com/u/rubio)\
**Post date:** [April 22, 2009, 3:30am UTC](https://www.ruby-forum.com/t/swf-player-tracks-are-undefined/166124/1 "2009-04-22T03:30:07Z")

</div>

The problem:

I finally got the playerMultipleList.swf to appear on the webpage, and I  
was really excited even tho the playlist didn’t show up. Loading  
playlist flashes by, then just says undefined (please see screen shot in  
attachment).

I noticed in my development.log the following, but am at a loss as to  
how to do the mapping if that’s the issue:  
ActionController::RoutingError (No route matches “/Home/playlist.xml”  
with {:method=\>:get}):

Details:  
The tracks don’t appear (get undefined where a track should be) even  
though I used the same pathing convention to point to public/Sounds  
(should evaluate to  
#{RAILS\_ROOT}/public/Sounds just as the swf path evaluated to  
#{RAILS\_ROOT}/public/swf and found the player.

At first I thought this problem would be a piece of cake, but now after  
trying the same convention I just mentioned, as well as the relative  
path, and absolute path to the myPlayList.xml still just “undefined” for  
the track … please see the attachment for a screen shot of this. and  
the current code as well.

If you have any ideas, it’s greatly appreciated.

Thanks for your time
