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

Problem with code url

This problem

067:*   http =  NewHttp("http://localhost/example.json")

Function Call Operator ( ) attempted on non-function. (runtime error &he0) in pkg:/components/screens/HomeScene/HomeScene.brs(67)
0 Kudos
2 REPLIES 2
tmat1075
Visitor

Re: Problem with code url

`NewHttp()` is not part of the Roku SDK (as far as I can tell), so you'll need to make sure you have that function available somewhere else in your code, and that it's accessible.
0 Kudos
squirreltown
Roku Guru

Re: Problem with code url

NewHttp() is in urlUtils.brs in the "scroll" example in SDK 1. 
urlUtils.brs may be in other examples.
Kinetics Screensavers
0 Kudos