Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Pass object to Screen from main.brs file

Hi,

I follow this example https://sdkdocs.roku.com/display/sdkdoc/Playing+Videos (Simple_Grid_with_Details_and_Video.zip) and have one problem.....Is there a way to pass object from main.brs to Description screen..actually I have more items in json array that needs to be passed to Description and dynamically added to layout...when I try to get value from array in Desc I got BRIGHTSCRIPT: ERROR: Runtime: FOR EACH value is Invalid: ...s/screens/Description/Description.brs(38) ?
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.