"sonnykr" wrote:
I get this behavior on Roku 3
"TheEndless" wrote:"sonnykr" wrote:
I get this behavior on Roku 3
Are you using an roImageCanvas or an roScreen for your splash? If the latter, then there's no way to avoid the black screen flash. It happens anytime you instantiate an roScreen. roImageCanvas is probably the better option for a splash screen, and behaves as I described above.
Sub Main ()
facade = CreateObject ("roImageCanvas")
If CreateObject ("roDeviceInfo").GetDisplayMode () <> "480i"
facade.SetLayer (0, {Url: "pkg:/images/ChannelSplashHD-1280x720.jpg"})
Else
facade.SetLayer (0, {Url: "pkg:/images/ChannelSplashSD-720x480.jpg"})
EndIf
facade.Show ()
' Do lots of initialization stuff
' Display the main UI roScreen
"belltown" wrote:
I haven't seen this behavior, at least on my Roku 2XS. ......
There is a momentary black flash when the first roScreen is created after all the initialization code, but at least it doesn't interrupt the splash screen, which is what sonnykyr seemed to be concerned about.
"squirreltown" wrote:"belltown" wrote:
I haven't seen this behavior, at least on my Roku 2XS. ......
There is a momentary black flash when the first roScreen is created after all the initialization code, but at least it doesn't interrupt the splash screen, which is what sonnykyr seemed to be concerned about.
I have a 2XS also, and when I say black screen, I mean 10-20ms, it still bugs me and it should be fixed, because it makes me or the box look bad, and I don't want either.
"belltown" wrote:
I haven't seen this behavior, at least on my Roku 2XS.
"squirreltown" wrote:
Right. But if you have a roScreen-based app, you're going to get a black screen whenever you create it so the canvas splash doesn't help you, which is the reason I start with a plain black splash and fade up whatever I'm going to - its the only way to "hide" the issue.
"TheEndless" wrote:
I think you missed the point. This splash screen is being displayed as the first screen of the app, so it doesn't need to be an roScreen. Display an roImageCanvas to avoid the flicker (except on the models noted above), then do a clunky fade to black on that splash screen to make a smooth transition into your roScreen based UI.