This view loads the player skin and shows the name of the song, the artist, the album, the elapsed time and its progress. The Progress Indicator and the Text components are created in this view, and the existing set of Soft Keys is customised.


 

The Soft Keys component has its labels and colours changed to show the correct options for this view:

     softkeys_sks._isBackgroundVisible = false;
     softkeys_sks._LSKTextColor = 0xFFFFFF;
     softkeys_sks._MSKTextColor = 0xFFFFFF;
     softkeys_sks._RSKTextColor = 0xFFFFFF;
     softkeys_sks._LSKType = "text";
     softkeys_sks._LSK = "Playlist";
     softkeys_sks._RSK = "Back";

The Progress Indicator component (progressTime_pgi instance) shows the progress of the currently playing media. The following code sets the Maximum value and the current progress to this instance:

     progressTime_pgi._maximum = _root.mediaDuration;
     progressTime_pgi.setProgress(_root.mediaPlaybackTime);

 

The default Background color and Fill color values of the component are modified to align with the look and feel of the application. These changes are made using the Parameters panel (Window > Properties > Parameters) with the following values:

Property Value
Background color "#DDDDDD"
Fill color "#3399FF"


The Text components (txtTitle_txt, txtAuthor_txt, txtAlbum_txt, txtPlaybackTime_txt instances) are used to show media information: the song title, the artist, the album and the elapsed time, respectively.

The Text, Font size and Font color properties of all instances are customised via the Parameters panel (Window > Properties > Parameters) with the following values:


Property Value
Text ""
Font size
"12"
Font color
"#FFFFFF"