Roku Developer Program

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

Re: [SOLVED] Cannot share functions between brs files in source folder

Hmm, I didn't understand the solution,
In /source I have A.brs, B.brs, and main.brs. For A.brs to call function from B.brs, I have to create A.xml and import B.brs?
I don't think A.xml will get initialized unless you call CreateObject("A") right??

If main.brs can already statically call methodFromA() so I don't really know why you would need to call CreateObject("A").
Sorry, kinda new to this.
0 Kudos