【问题标题】:Displaying text from a txt file that lives on a server in a Roku Channel显示位于 Roku 频道中服务器上的 txt 文件中的文本
【发布时间】:2021-05-06 05:38:54
【问题描述】:

我对 Roku BrightScript 很陌生。我正在尝试显示托管在服务器 ex 上的使用条款。 (https://example.com/en-us-terms.txt)

我尝试roURLTransfer 没有成功,ReadAsciiFile

谁能指点我正确的方向

谢谢

【问题讨论】:

  • 您有任何错误吗?你能分享你试过的代码吗?

标签: roku brightscript


【解决方案1】:

你设置任务了吗?您将需要一个将结果发布到从渲染线程观察到的“m.top”字段的任务。如果您按照此处的示例进行操作,它应该可以帮助您:https://developer.roku.com/docs/references/scenegraph/control-nodes/task.md

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-06-10
    • 1970-01-01
    • 2012-06-09
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多