Forum Discussion
YoJae
9 years agoVisitor
"destruk" wrote:
While OverhangPanelSetScene is supposed to be a basic built-in predefined component for scenegraph, see here:
https://sdkdocs.roku.com/display/sdkdoc ... elSetScene
The zip you linked to works fine on my roku's here - it's possible you don't have the minimum firmware revision required to extend that node.
You might try changing the extends for this specific case to simply be - extends="Scene" and see if that works. Otherwise it would be helpful to post the full debug log and any compile errors that show up. Also keep in mind that when learning a new OS or SDK or programming language they usually don't begin chapter one of the course with "everything and the kitchen sink" as well as post-graduate sample code all rolled into one. They start with "Hello World" - a simple short program that prints something to the screen and then each topic is split into a subsequent chapter. While your demo there shows practically every conceivable thing the roku can possibly do in scenegraph it most likely isn't any way to actually learn how things work. As you didn't write the code, you won't know where things are, where they fit together, what methods are available, etc without probably printing out every included file and going over it with a highlighter.
Roku does have over 30 sample apps explaining in detail every little piece available, maybe starting with one of those and grabbing what you require from others will bump you along development of your app.
Thank you very much for suggestions. I agree that you should start with Hello World, just hoped this would magically work.
Tried everything from the above. My Roku is 4200X - Roku 3 with latest firmware (7.6.0 b4125-04).
If I try to create built-in OverhangPanelSetScene, the channel starts with empty scene and no error.
But when I launch the channel and try to create scene from components/ directory, (e.g. using simple RectangleExample from Roku SDK) I always receive BRIGHTSCRIPT: ERROR: roSGScreen.CreateScene: No such node RectangleExample: pkg:/source/main.brs(11)
To me it looks like Packager cannot include any custom xml graph scene.
Again, any suggestions will be helpful.
Best,
Gary