Your Digital Media Has Never Looked So Good

Search found 15 matches

by juantwc
Thu Feb 23, 2017 9:27 am
Forum: Roku Developer Program
Topic: Keyboard focus
Replies: 1
Views: 396

Keyboard focus

the doc at https://sdkdocs.roku.com/display/sdkdoc/Keyboard says that the property "focusedKeyColor" , " Specifies the color of the key labels and icons when the  Keyboard  node has  the focus ", but i can't get it to have color white m.keyboard.focusedKeyColor = "#FFFFFF&qu...
by juantwc
Sun Feb 19, 2017 1:56 am
Forum: Roku Developer Program
Topic: Passing an array through interface field?
Replies: 5
Views: 676

Re: Passing an array through interface field?

Hey If you look here https://sdkdocs.roku.com/display/sdkdoc/interface you will see that the type of array you are trying to pass is not one of the supported types. The choice of supported types is a bit strange to be honest, but i digress. In your case probably the best you can do is declare the fi...
by juantwc
Wed Feb 15, 2017 5:27 am
Forum: Roku Developer Program
Topic: Where does 'm' come from?
Replies: 8
Views: 568

Where does 'm' come from?

I'm a big fan of m, was just wondering...

Is it safe to say that it is a variation on VISUAL BASIC's Me keyword? Where does it come from? 
by juantwc
Wed Feb 15, 2017 5:21 am
Forum: Roku Developer Program
Topic: Scene Graph roScene disposal best practices
Replies: 7
Views: 1111

Re: Scene Graph roScene disposal best practices

Thanks man, you are doing God's work  :) 

Would be cool to see something like this in the SDK documentation (wink wink if anybody out there has the right connections) 
by juantwc
Mon Feb 13, 2017 1:22 am
Forum: Roku Developer Program
Topic: Scene Graph roScene disposal best practices
Replies: 7
Views: 1111

Re: Scene Graph roScene disposal best practices

Thanks for your replies.  I had one Scene per controller only because it seems more organised. I come from a developer background in iOS and i guess i was trying to have a paradigm similar to each view controller having a view that gets shown/dismissed. I understand from your replies this is the wro...
by juantwc
Wed Feb 08, 2017 8:40 am
Forum: Roku Developer Program
Topic: Scene Graph roScene disposal best practices
Replies: 7
Views: 1111

Scene Graph roScene disposal best practices

Hello I am developing an app with Scene Graph where more than one scene is shown.  Each screen is abstracted to a controller and each controller presents its own Scene, like this example:       ' Create the splash screen'       m.screen = CreateObject("roSGScreen")       m.port = CreateObj...
by juantwc
Tue Apr 05, 2016 4:01 am
Forum: Roku Developer Program
Topic: Beta Scene Graph Components
Replies: 225
Views: 60889

Re: Beta Scene Graph Components

I have a question regarding backwards compatibility for Roku Scene Graph Components: * What happens if a Roku box running firmware < 7 opens a channel with Roku Scene Graph Components? * If the app contains a hybrid UI , half regular components and half Scene Graph Components, will the regular compo...
by juantwc
Wed Mar 16, 2016 8:03 am
Forum: Roku Developer Program
Topic: Beta Scene Graph Components
Replies: 225
Views: 60889

Re: Beta Scene Graph Components

1 - It seems that is not possible to subclass a component. If you have a base set of functions, for example, to manage UI element focus, It is a bit counter productive to have to copy and paste the same code in each component. Is there any way to circumvent this ? You could put the utility code in ...
by juantwc
Tue Mar 08, 2016 3:43 am
Forum: Roku Developer Program
Topic: Beta Scene Graph Components
Replies: 225
Views: 60889

Re: Beta Scene Graph Components

I am looking for suggestions on how to overcome some of the limitation on the Scene Graph SDK, and would appreciate if anybody has any tips on the following: 1 - It seems that is not possible to subclass a component. If you have a base set of functions, for example, to manage UI element focus, It is...
by juantwc
Mon Feb 08, 2016 8:28 am
Forum: Roku Developer Program
Topic: 9-patch image ... how exactly?
Replies: 2
Views: 1850

Re: 9-patch image ... how exactly?

ahhhhhh... that explains it.

Given that the guide in for Android and different languages handle these different, it's good to clarify.

Thanks!
by juantwc
Mon Feb 08, 2016 1:24 am
Forum: Roku Developer Program
Topic: Beta Scene Graph Components
Replies: 225
Views: 60889

Re: Beta Scene Graph Components

I am building an item with multiple labels on the same line. There will be dynamic content in the labels, so the width of the labels will be changing based on what the text is, so I have the width set to zero for both. However, when I need the final width of the first label in order to properly pla...
by juantwc
Mon Feb 08, 2016 1:22 am
Forum: Roku Developer Program
Topic: Determining text width on a Label (SDK2)
Replies: 6
Views: 2126

Re: Determining text width on a Label (SDK2)

Any luck with this?
by juantwc
Fri Feb 05, 2016 6:39 am
Forum: Roku Developer Program
Topic: Progressdialog, BusySpinner?
Replies: 0
Views: 644

Progressdialog, BusySpinner?

The ProgressDialog documentation says The ProgressDialog node class is a special type of Dialog node that includes the dialog title region and a spinning icon as the body of the dialog. The ProgressDialog node class uses a BusySpinner node to display the spinning icon. Where is there information abo...
by juantwc
Fri Feb 05, 2016 6:03 am
Forum: Roku Developer Program
Topic: 9-patch image ... how exactly?
Replies: 2
Views: 1850

9-patch image ... how exactly?

Hello Im trying to set the backgroundUri of a Dialog. Documentation says: Usually this is a 9-patch image to support dynamic resizing Documentation doesn't say: How do i create this image to be recognised as a 9 patch? I tried this approach http://radleymarx.com/blog/wp-content/uploads/2011/05/9-pat...
by juantwc
Mon Nov 30, 2015 5:54 am
Forum: Roku Developer Program
Topic: Beta Scene Graph Components
Replies: 225
Views: 60889

Re: Beta Scene Graph Components

Having the same problem. Setting the focus on the scene using initialFocus also doesn't work. Or maybe i am doing it wrong? <?xml version="1.0" encoding="utf-8" ?> <component name="SimpleRowListScene" extends="Scene" initialFocus="theRowList" > <chil...