PDA

View Full Version : Help using a combobox to play music


followchrist
04-25-2004, 02:41 AM
What I want to do is have an mp3 or another movie with a sound embed play when you select the song in the combobox. I am some what of a newbie and the only way I can get it to play is if I do a get url command which pops up another window which I don't want.

Here is what I got, this code is is in the main frame

function songs() {
loadMovieNum(Music.getSelectedItem().data, 1);
}

All the information in the data section of the combobox is correct but for some reason it wont start playing the music in the loaded movies like it would if you just loaded them into the player outright. If I put a movie with images in the data field of the combobox as a test its loads up no problem.

All I want to do is have a little music player that looks invisable and doesn't make my main page take long to load.

Here is a link to the .fla file
http://216.120.231.148/emo2.fla

Please Help and Thanks

Ste-vo