Arezth
9 years agoVisitor
Opening a scene from a .brs that is not main.brs
Hi Forum,
I am new to developing for Roku. I was looking for a way of calling (open) a scene (or screen) from within a scene (from an "roSGScreen" object) that has already been called in the main.brs. For what I've seen, the scene or screen should be initialized in the main.brs 's RunUserInterface, because it is not initialized if I tried to create one in the scene's .brs that has already been loaded. Also, it would need to be passed to the scene that is open, but I can't figure out how. Can you point me in the right direction? An example would be deeply appreciated.
I am new to developing for Roku. I was looking for a way of calling (open) a scene (or screen) from within a scene (from an "roSGScreen" object) that has already been called in the main.brs. For what I've seen, the scene or screen should be initialized in the main.brs 's RunUserInterface, because it is not initialized if I tried to create one in the scene's .brs that has already been loaded. Also, it would need to be passed to the scene that is open, but I can't figure out how. Can you point me in the right direction? An example would be deeply appreciated.