Your Digital Media Has Never Looked So Good

Search found 789 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 53
by joetesta
Fri Dec 21, 2018 6:08 pm
Forum: Roku Developer Program
Topic: Help with Deep Linking
Replies: 5
Views: 725

Re: Help with Deep Linking

In your application's main.brs file you should have the first line: sub main(params = {} as object) When the app has been called via deeplink, the params (contentId, mediaType) will be passed in that params field and in your main.brs, you generally set fields on global  if params.contentId <> invali...
by joetesta
Thu Dec 20, 2018 1:03 pm
Forum: Roku Developer Program
Topic: Help with Deep Linking
Replies: 5
Views: 725

Re: Help with Deep Linking

I assume you're aware but in case not, you can test it out using the tools Roku provides here: https://devtools.web.roku.com/#deep-linking-tool-link
by joetesta
Thu Dec 20, 2018 12:59 pm
Forum: Roku Developer Program
Topic: Task subroutine
Replies: 5
Views: 519

Re: Task subroutine

afaik you should put the sub in a separate file (eg "mySubs.brs") and include it from your task's XML; something like: <script type="text/brightscript" uri="pkg:/source/mySubs.brs" /> You could also have a subfolder of /source/ with a bunch of such subs separated out to...
by joetesta
Thu Dec 20, 2018 12:54 pm
Forum: Roku Developer Program
Topic: Task XML Blocks
Replies: 5
Views: 507

Re: Task XML Blocks

My understanding (though don't hold me to it / correct me if I'm mistaken) is that the task blocks itself (because it operates on its own thread), but you could spin off 5 separate tasks asynchronously that don't block each other; use createObject in the brs / render thread to spin off new tasks of ...
by joetesta
Mon Oct 22, 2018 4:49 pm
Forum: Roku Developer Program
Topic: TargetList with 2 children acts really weird on animation
Replies: 5
Views: 696

Re: TargetList with 2 children acts really weird on animation

no it doesn't ignore the offscreen items, but by setting the focusIndex to 1 and 2, it will never focus on the 0 and 3 items.
by joetesta
Mon Oct 22, 2018 8:28 am
Forum: Roku Developer Program
Topic: TargetList with 2 children acts really weird on animation
Replies: 5
Views: 696

Re: TargetList with 2 children acts really weird on animation

A workaround is to add two additional offscreen elements, one on each end. to the  targetRects. These offscreen elements suppress the blinking of the onscreen ones. something like: targetSet1.focusIndex = 1 ' <---- note this was bumped up to account for new element'  targetSet1.targetRects = [  { x:...
by joetesta
Mon Oct 15, 2018 11:02 pm
Forum: Roku Developer Program
Topic: Upload error
Replies: 9
Views: 617

Re: Upload error

oops! "player" is not a standard component; should be "video"
 m.Player = m.top.CreateChild("Video")

https://sdkdocs.roku.com/display/sdkdoc/Video
by joetesta
Fri Oct 12, 2018 11:36 am
Forum: Roku Developer Program
Topic: Upload error
Replies: 9
Views: 617

Re: Upload error

the error indicates that m.player doesn't exist yet.  Move this to your init() routine:

 m.Player = m.top.CreateChild("Player")
by joetesta
Tue Oct 09, 2018 11:23 am
Forum: Roku Developer Program
Topic: Emoji Support
Replies: 2
Views: 3590

Re: Emoji Support

:mrgreen: bump
by joetesta
Thu Oct 04, 2018 2:56 pm
Forum: Roku Developer Program
Topic: global as a reserved word
Replies: 7
Views: 424

Re: global as a reserved word

If you post a comment in here https://forums.roku.com/viewtopic.php?f=34&t=69731 a fairy or gremlin might come along and fix it 
by joetesta
Thu Oct 04, 2018 2:53 pm
Forum: Roku Developer Program
Topic: Get Access to RowList thumbnail item?
Replies: 2
Views: 190

Re: Get Access to RowList thumbnail item?

To my knowledge, the answer is "no"; there's no way to get a direct reference to the items contained by a rowList.  As you mentioned, by updating the content the items can triggered to do things.
by joetesta
Thu Aug 30, 2018 6:05 pm
Forum: Roku Developer Program
Topic: Postergrid images missing after visible true/false change
Replies: 1
Views: 203

Re: Postergrid images missing after visible true/false change

Try setting loadheight and loadwidth for the posters and see if it makes a difference?
by joetesta
Fri Aug 10, 2018 7:38 am
Forum: Roku Developer Program
Topic: Audio Guide for Visually Impaired in Roku not working properly
Replies: 2
Views: 319

Re: Audio Guide for Visually Impaired in Roku not working properly

you can customize behavior by building up your own engine to translate on screen text to what you want said, but it's not a trivial task.
by joetesta
Fri Aug 10, 2018 7:34 am
Forum: Roku Developer Program
Topic: ButtonGroup never hasFocus
Replies: 3
Views: 303

Re: ButtonGroup never hasFocus

well I learned this stuff the hard way and just reference the docs to back up what I think I know :) But I agree, took me a while to understand that only one node can have focus and this sort of immediate off-loading of focus to a subcomponent means the parent never has focus even if you assign it d...
  • 1
  • 2
  • 3
  • 4
  • 5
  • 53