Your Digital Media Has Never Looked So Good

Topic Author
Posts: 62
Joined: Wed Dec 14, 2016 4:08 pm

Problem with code url

Wed May 10, 2017 6:07 am

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)
Posts: 27
Joined: Mon Apr 17, 2017 9:35 am

Re: Problem with code url

Wed May 10, 2017 8:15 am

`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.
User avatar
Posts: 773
Joined: Sun Apr 21, 2013 2:20 pm

Re: Problem with code url

Fri May 12, 2017 6:59 pm

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

Who is online

Users browsing this forum: No registered users and 8 guests