Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to change the default overhang slice ???

i am a new roku developer ......i am not able to change the default overhang slice ?? how to change it ??? please do help ....
0 Kudos
1 REPLY 1
RokuJoel
Binge Watcher

Re: How to change the default overhang slice ???

You would use one of the theme properties used by roAppManager, please see:

http://sdkdocs.roku.com/display/sdkdoc/roAppManager

Generally speaking:

sub main()
InitTheme()

Poster=createobject("roPosterScreen")
Poster.setcontentlist([{},{},{}])
poster.show()

while true
print "hi, I'm running"
end while
end sub

function initTheme()
appman=createobject("roAppManager")
theme=createobject("roAssociativeArray")
theme.OverhangSliceHD="pkg:/images/overhang_hd.jpg"
theme.OverhangSliceSD="pkg:/images/overhang_sd.jpg"
appman.settheme(theme)
end function


- Joel
0 Kudos