Adding a Playlist
You can use playlists to choose from collections of your audio and video.
Using the artwork from your first skin, you can make a few changes to the skin definition file.
The first step is to use the shell you will use for most skins:
clippingColor = "#CCCC00"
backgroundImage = "background.bmp"
titleBar = "false">
mappingImage = "map.bmp"
hoverImage = "hover.bmp">
Now add a second VIEW, which contains a playlist. Place the following code after the </VIEW> of the shell code.
id = "playview">
You will need to give this second view an ID so you can refer to it later. Add a PLAYELEMENT and a STOPELEMENT. These predefined buttons make life easier.
mappingColor = "#00FF00" />
mappingColor = "#FF0000" />
Finally, add an onClick event to the PLAYELEMENT to display a playlist in the second view:
onClick = "JScript: theme.openView('playview');" />
You can see a similar working playlist skin in the sample section of the SDK.