Lesson 3 Issue
jkardong opened this issue · 1 comments
jkardong commented
In Lesson 3, at step 3, when running, I consistently get the error "Interface not a member of BrightScript Component
" and breaks on the updated code in home_scene.brs
. I'm not positive, but should the code be referencing the center_square
or category_list
? In your code example this is how it is set, so thinking maybe it should be changed?
m.center_square = m.top.findNode("category_screen")
m.center_square.setFocus(true)
I'm new to all this but when I added the following to home_scene.xml
, it seemed to run
<category_screen
id="category_screen"
visible="true"
translation="[0,0]" />
Also, step 3 says to update the home_scene.xml
file when it should be the home_scene.brs
file :)
xvtstephen commented
there is a bug in the lesson. if you understand what the bug is you will be able to fix it.
On Thursday, June 11, 2020, 6:49:02 PM EDT, J Kardong <notifications@github.com> wrote:
In Lesson 3, at step 3, when running, I consistently get the error "Interface not a member of BrightScript Component" and breaks on the updated code in home_scene.brs. I'm not positive, but should the code be referencing the "center_square" or "category_list"?
m.**center_square** = m.top.findNode("category_screen")
m.**center_square**.setFocus(true)
I'm new to all this and could not get it to run, even if I changed it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.