Solisive
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2012
02:39 AM
RoUrlTransfer Question
Brightscript throws the following error message when the code below executes. This is code taken from samples for Async url calls)
"Member function not found in Brightscript component or interface"
request = CreateObject("roUrlTransfer")
port = CreateObject("roMessagePort")
request.SetMessagePort(port)
request.SetUrl(url)
"Member function not found in Brightscript component or interface"
request = CreateObject("roUrlTransfer")
port = CreateObject("roMessagePort")
request.SetMessagePort(port)
request.SetUrl(url)
3 REPLIES 3
belltown
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2012
07:03 AM
Re: RoUrlTransfer Question
You need to use SetPort instead of SetMessagePort. I know that the Streaming Player Component Reference defines a SetMessagePort member of roUrlTransfer, but I think that is a mistake in the documentation.
Solisive
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2012
08:11 AM
Re: RoUrlTransfer Question
"belltown" wrote:
You need to use SetPort instead of SetMessagePort. I know that the Streaming Player Component Reference defines a SetMessagePort member of roUrlTransfer, but I think that is a mistake in the documentation.
Super - That did it.

TheEndless
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2012
10:04 AM
Re: RoUrlTransfer Question
"belltown" wrote:
You need to use SetPort instead of SetMessagePort. I know that the Streaming Player Component Reference defines a SetMessagePort member of roUrlTransfer, but I think that is a mistake in the documentation.
I believe they added SetMessagePort to all interfaces that used SetPort in the past, for consistency, but those changes didn't make it into the 3.x firmware.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)