-
[F8] XML Problem
ok, I just made a working music player using Flash and XML, the XML takes the mp3 files and puts them in the flash. So I decided to put this music player on my Myspace profile and I used myFileStash.com to host my files (which include all the mp3 files).
But heres the problem: the player is embedded on the profile but it wont play any music. the song title just says "undefined - undefined".
note that the music does play when it is tested in Flash.
-thanks:)
-
Sounds like a cross domain problem, although I have never messed with the fix. If the files are stored on one domain and the swf on another, it won't work. There is a fix, but I can't help with it. Never had to do it. :)
-
I have all the files on one server though. :(
is there a problem with the code maybe?
<object enableJSURL="false" enableHREF="false" saveEmbedTags="true" allowScriptAccess="never" allownetworking="internal" type="application/x-shockwave-flash" allowScriptAccess="never" allownetworking="internal" height="400" width="500" data="http://www.myfilestash.com/userfiles/pilsburydoeboy97/mp3Player2.swf">
<param name="allowScriptAccess" value="never" />
<param name="allowNetworking" value="internal" />
<param name="movie" value="http://www.myfilestash.com/userfiles/pilsburydoeboy97/mp3Player2.swf" />
<param name="menu" value="false" />
<param name="quality" value="high" />
<param name="flashvars" value="playList=http://myfilestash.com/userfiles/pilsburydoeboy97/Copy%20of%20version.xml&ShowEQ=1&initVol=100" />
<param name="wmode" value="transparent" />
</object>
-
If the xml and mp3 files are on myFileStash.com and the movie swf is playing from myspace.com, then it's a different domain.