Hi!
I want some help with my code here.
I'm using afAMP Player (a flash mp3 player) and want it to communicate with my page. The page has an file select code and I want that people browsing to their mp3-song and then press "play" so that the local mp3-file is playing in the flash mp3 player.

Here's my preview and demo to get my help faster:
http://fpspvista.recoding.net/mp3player.html

And here is the code that needs to be changed (i think)
PHP Code:
<object id="mp3player" type="application/x-shockwave-flash" data="fullplayer.swf" width="550" height="400" style="vertical-align: bottom;">

    <
param name="type" value="application/x-shockwave-flash" />
    <
param name="codebase" value="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" />
    <
param name="movie" value="fullplayer.swf" />
  </
object>

  <
input type="file" id="pspfile" name="pspBrowse" />
  <
input type="submit" name="Submit" value="Open" onclick="location.href=pspBrowse.value" /> 
<
a href="javascript:void(0);" onclick="window.document.mp3player.SetVariable('url', 'pspBrowse.value');">Play</a
The link "Play" probably has the wrong code to work with the mp3 player, so what to type instead of "window.document.mp3player.SetVariable('url', 'pspBrowse.value');"?