I have a flash jukebox I 've made, the jukebox uses a playlist.txt file to load the music into the flash player. The problem is I want to embed the flash file into a page, in a different directory to the txt file and Mp3's. thee reason for this is that the directory that stores the txt file and the Mp3 tracks will always be different. A directory is created based on the name of the a user typed into a form, the tracks are uploaded via the net into that directory. I have a page where users can listen to peoples music the site is PHP driven.
I want the player to be on a search page which will always be the same url eg onlinegig/player.php.
The flash file will then be embedded from the directory of the bandname. eg onlinegig/brothernature/tracks So it is'nt picking up the text file in that directory because it's not in the same directory as the page which embeds the flash file,
Is there any way, I can tell the flash movie to look in the directory where it the movie exists not in the directory the page is in for the playlist.txt file, bearing in mind the url for the flash player will always be different and is stored in the database as a varible.
hope this makes sense.
Cheers Stuart




Reply With Quote