Forum Discussion
RokuJoel
10 years agoBinge Watcher
"scaper12123" wrote:
I have a function I use to record time that I want to reference in an xml document I'm using to create a countdown timer. Is the code within the xml document capable of recognizing that I am referencing a function within my primary brightscript documents, or do I have to do something special to point that fact out?
If I understand what you are asking, you need to reference the code with a script tag:
<?xml version="1.0" encoding="utf-8" ?>
<component name="basic" extends="Scene" initialFocus="Channels">
<script type="text/brightscript" uri="pkg:/components/radio.brs" />
<script type="text/brightscript" uri="pkg:/source/utils.brs" />
Hope that helps answer your question, if not, post back here.
"EnTerr" wrote:
I'll leave to the Roku* evangelists on staff to answer it - they are being paid to be enthusiastic about and to shill for the SG xml-ography. The question is broad, so even the more reason it falls under their auspices.
I think most Roku employees are enthusiastic because we believe in the product, the company and the potential for revolutionizing the TV space.
I don't know anyone who isn't at least a little bit excited, even the people who have been here for many years.
- Joel