Log In · Register

 
xanga music code help, coding
goodeddie
post Jun 9 2006, 06:10 PM
Post #1


Senior Member
***

Group: Member
Posts: 63
Joined: Dec 2004
Member No: 74,764



is there any way to make a new song play when the song playing ends?
like say song a is playing and then it ends and then song b starts playing
is there a way to do that? all i need is a condition that tells me when the song ends like
if (song ends)
{
play new song
}
please help meee
 
 
Start new topic
Replies
talcumpowder
post Jun 10 2006, 09:21 PM
Post #2


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



That's the thing I was trying to explain earlier. You do need to know what to do the song ends, otherwise how would you switch the song in the first place? Duh. Unless you were going to make it fluid, like a flash player.
If you created an array with song times, you could pull those up depending on the song (having the times match to the music urls array). That would take care of when the song ends. The part that would be hard is the having it switch to a new song. Because I'm not quite sure how the player pulls up the music and plays it in the first place.
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: