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: 
ioan
Roku Guru

Re: Is it possible to have an event loop inside a Scene?

Thanks again. I'll have to buy you a beer very soon.

Another question and I hope this will be last one in a while (I started to understand the flow of scenes), can I have a "myutils.brs" file with common functions? I tried putting it in "components" in "source" but none of the functions can be found when I call them in code.
https://github.com/e1ioan/
http://rokucam.com
0 Kudos
EnTerr
Roku Guru

Re: Is it possible to have an event loop inside a Scene?

"ioan" wrote:
Another question and I hope this will be last one in a while (I started to understand the flow of scenes), can I have a "myutils.brs" file with common functions? I tried putting it in "components" in "source" but none of the functions can be found when I call them in code.

RSG B/S does not see implicitly the files in /source - and i think not in /components - you'll have to use <script uri="..."> to include the relevant sources in each concerned component, see https://sdkdocs.roku.com/display/sdkdoc/component
0 Kudos