learnroku/crash-course

Lesson 3 Issue

jkardong opened this issue · 1 comments

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 :)