A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: [F8] XML Problem

  1. #1
    Member
    Join Date
    Dec 2006
    Posts
    38

    [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

  2. #2
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,490
    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.

  3. #3
    Member
    Join Date
    Dec 2006
    Posts
    38
    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>
    Last edited by pilsburydoeboy; 11-07-2007 at 04:18 PM.

  4. #4
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,490
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center