squirreltown
13 years agoRoku Guru
back button on array
audio springboard, one button plays an array of 5 items.
stopping advances the audio to the next item in the array, so easy to make a RIGHT button, which cycles through the items.
Problem I'm having is making a LEFT button to cycle the other way.
I was hoping this would work:
It returns a result but not based on the current item playing in the springboard, it always returns the same result which is to play item 2 in the array as it seems to think item 3 is 0.
stopping advances the audio to the next item in the array, so easy to make a RIGHT button, which cycles through the items.
Problem I'm having is making a LEFT button to cycle the other way.
I was hoping this would work:
else if msg.isRemoteKeyPressed()
if msg.GetIndex() = 4 ' < LEFT
scr.ClearButtons()
m.audio.SetNext(msg.GetIndex() -1)
m.audio.Play()
scr.AddButton(2, "Pause")
scr.AddButton(4, "Stop")
scr.AddButton(5, "Done")
It returns a result but not based on the current item playing in the springboard, it always returns the same result which is to play item 2 in the array as it seems to think item 3 is 0.