PDA

View Full Version : Load Mp3 in flash


webrains
11-18-2005, 05:08 PM
I have some mp3's in root/loops folder like root/loops/test.mp3
And the flash player.swf is in root/public_html/player.swf

What should be the code in flash to load the above mp3 in player

i tried something like loadSound("../loops/test.mp3");
Works fine locally but doesnt work on server

The main purpose of doing this is to make the test.mp3 secure so that it cant be downloaded from the server

If someone has a better way in php/flash to secure the mp3 i would be happy to hear that!

Thanks

Sumeet

CyanBlue
11-18-2005, 05:16 PM
Howdy and Welcome... :)

Try this thread...
http://www.actionscript.org/forums/showthread.php3?t=87695