PDA

View Full Version : MYSPACE XML Music Player



GALAXYGARRISSON
September 27th, 2007, 01:51 PM
Hey everyone,

I am working on a MYSPACE page that has Flash in it, and in that Flash file there is a music player I made powered by XML. When I upload it to my personal server it works just fine: the music plays, but when I view it on the MYSPACE page it doesn't work: the music doesn't play, can someone tell me why this is happening?

Zaid_W1red
September 27th, 2007, 03:08 PM
i think its flash player 9 security settings ...make sure that your alowing data to be loaded from ANY domain.

GALAXYGARRISSON
September 27th, 2007, 07:13 PM
How do I allow for that? How do I do it?

wiifanatic
September 27th, 2007, 07:23 PM
With a crossdomain.xml file.
Google it :)

Zaid_W1red
September 27th, 2007, 07:29 PM
Its also a paramater in your embed code, look at the params in the flash help :D

GALAXYGARRISSON
September 27th, 2007, 09:57 PM
Thanks guys,

I created a file called crossdomain.xml and put it in the root of my server it looks something like this:

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="http://www.therealservername.com" />
</cross-domain-policy>

this is still not working, what am I missing? What am I doing wrong here?

GALAXYGARRISSON
September 27th, 2007, 11:04 PM
Plus I am having the same problem with my buttons as well, they are working on the server, but not on the myspace. Pls help.

NOT WORKING:
http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=158216933

WORKING:
http://michaeldedrick.com/simmiewoodz/simmie_interface_new_010.swf

Zaid_W1red
September 27th, 2007, 11:37 PM
For testing try changing that: <allow-access-from domain="http://www.therealservername.com" />

to

<allow-access-from domain="*" />


the parameter <param name="allowScriptAccess" value="never" />

also eeds to be <param name="allowScriptAccess" value="ALWAYS" />

but i have a feeling myspace overides this, as you can't link out from the flash in anyway.

proile looks superb though ;)

GALAXYGARRISSON
September 28th, 2007, 12:02 AM
For testing try changing that: <allow-access-from domain="http://www.therealservername.com" />

to

<allow-access-from domain="*" />


the parameter <param name="allowScriptAccess" value="never" />

also eeds to be <param name="allowScriptAccess" value="ALWAYS" />

but i have a feeling myspace overides this, as you can't link out from the flash in anyway.

proile looks superb though ;)


Thanks for your comments and your help. I tried your suggestions and it's still not working, perhaps MYSPACE is overriding it like you mentioned. Though I have seen many MYSPACE pages that have XML music players on them, and they work perfectly, so there must be a way around this.

Does anyone know?

GALAXYGARRISSON
September 28th, 2007, 04:13 PM
anyone?

sixfngers
September 28th, 2007, 06:43 PM
http://www.myspace.com/sixfngers

i made this player for paramount studios and it is powerd by xml and it works only thing i had to do was the crossdomain issue.

again it is done in 8 so perhaps that is the case.

GALAXYGARRISSON
September 28th, 2007, 07:15 PM
http://www.myspace.com/sixfngers

i made this player for paramount studios and it is powerd by xml and it works only thing i had to do was the crossdomain issue.

again it is done in 8 so perhaps that is the case.


Thanks, but I was looking for an xml music player on MYSPACE solution