Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
ioan
Level 8

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
Level 9

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