Forum Discussion
4 Replies
- TwitchBronBronStreaming Star
I don't understand the problem. Can you please try and better explain what you're trying to do, and then what is not working? Give code examples as well.
- spradhan7656Channel Surfer
okk i create one it is the posterpage extends with group <poster id="poster" height="278" widht="122" uri="pkg://images/poster_uri.png"> . if it is hasFocus()=true then i press ok then
<interface>
<field id="posterSelected" type="node" alias="poster. ? ">
<interface>
in above alias ? what i write if press ok..
another .brs file is posterlogic.brs
sub init()
m.posterpage=createObject("roSGNode","posterpage")
m.posterpage.observerField("posterSelected","onPosterSelected")
end sub
function onPosterSelected()
print "posterSelected"
end function
- renojimCommunity Streaming Expert
Posters don't have an itemSelected property. I think you need to use a posterGrid with one poster.
https://developer.roku.com/docs/references/scenegraph/list-and-grid-nodes/postergrid.md