makePlaylist

Version 1
makePlaylist - Turns loaded XML file into local array

Description

void makePlaylist ( )

makePlaylist() cycles through the loaded XML file (see loadSongs()) and turns it into an array that can be accessed by the rest of the class. Once the array is made it calls play(), playing the first song in the list.

Example:

Although you wouldn't think this function to be handy, as loadSongs() calls it automatically, there are instances in which someone could use this. I, however, have yet to think of one. So, no example for you!

See also:
loadSongs()

Home

Public Functions