Under the activity level script I added the following:
var OB0 = CF.widget("PS_OVERLAY_BUTTON_0","PS_OVERLAY")
var OB1 = CF.widget("PS_OVERLAY_BUTTON_1","PS_OVERLAY")
var OB2 = CF.widget("PS_OVERLAY_BUTTON_2","PS_OVERLAY")
var OB3 = CF.widget("PS_OVERLAY_BUTTON_3","PS_OVERLAY")
var OB4 = CF.widget("PS_OVERLAY_BUTTON_4","PS_OVERLAY")
var OB5 = CF.widget("PS_OVERLAY_BUTTON_5","PS_OVERLAY")
CF.page("PS_ARTIST_INDEX").onOverlayShow = function() {
OB0.label = "Music Menu"
OB1.label = "Album Index"
OB2.label = "Artist List"
OB3.label = "Album List"
OB4.label = "Song List"
OB5.label = "Now Playing"
}
CF.page("PS_ALBUM_INDEX").onOverlayShow = function() {
OB0.label = "Music Menu"
OB1.label = "Artist Index"
OB2.label = "Artist List"
OB3.label = "Album List"
OB4.label = "Song List"
OB5.label = "Now Playing"
}
CF.page("PS_ARTIST_LIST").onOverlayShow = function() {
OB0.label = "Music Menu"
OB1.label = "Artist Index"
OB2.label = "Album Index"
OB3.label = "Album List"
OB4.label = "Song List"
OB5.label = "Now Playing"
}
CF.page("PS_ALBUM_LIST").onOverlayShow = function() {
OB0.label = "Music Menu"
OB1.label = "Artist Index"
OB2.label = "Album Index"
OB3.label = "Artist List"
OB4.label = "Song List"
OB5.label = "Now Playing"
}
CF.page("PS_SONG_LIST").onOverlayShow = function() {
OB0.label = "Music Menu"
OB1.label = "Artist Index"
OB2.label = "Album Index"
OB3.label = "Artist List"
OB4.label = "Album List"
OB5.label = "Now Playing"
}
CF.page("PS_NOW_PLAYING").onOverlayShow = function() {
OB0.label = "Music Menu"
OB1.label = "Artist Index"
OB2.label = "Album Index"
OB3.label = "Artist List"
OB4.label = "Album List"
OB5.label = "Song List"
}
None of the above seems to work, no errors shown in the console. So I tried something more basic:
var OB0 = CF.widget("PS_OVERLAY_BUTTON_0","PS_OVERLAY")
var OB1 = CF.widget("PS_OVERLAY_BUTTON_1","PS_OVERLAY")
var OB2 = CF.widget("PS_OVERLAY_BUTTON_2","PS_OVERLAY")
var OB3 = CF.widget("PS_OVERLAY_BUTTON_3","PS_OVERLAY")
var OB4 = CF.widget("PS_OVERLAY_BUTTON_4","PS_OVERLAY")
var OB5 = CF.widget("PS_OVERLAY_BUTTON_5","PS_OVERLAY")
OB0.label = "Music Menu"
OB1.label = "Album Index"
OB2.label = "Artist List"
OB3.label = "Album List"
OB4.label = "Song List"
OB5.label = "Now Playing"
Again, nothing happening. No errors.
What am I missing?
Last edited by 2Many on December 12, 2010 10:17.