I am facing some issue in screen navigation in Roku Brightscript. Please, anyone, help me how I can manage 5-6 screen in my Roku project. I want to navigate from 1 to 2 screen and also want to back from that screen. This is some major issue I have for the last 6 month. I am not able to do it. Some help from your side helps me to understand.
Currently, I have tried by following below procedure
1-if I want to go to 2 screens then I will do below part
m.top.AppendChild(m.secondscreen)
m.secondscreen.setFocus(true)
m.secondscreen.visible="true"
2- when I click back then in a second-screen back key I will return it false So that it comes to 1st screen back and here I will just do this
m.secondscreen.setFocus(false)
m.secondscreen.visible="false"
return true
Here it will come to the 1st screen. So like this, I will go to all pages. But I know this is not the exact process in Roku. So I have faced many difficulties by doing this.and I am not able to move from 5 screens to 1 screen by following the above procedure So anyone let me understand with some example if you have.it will be grateful to you