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.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Scene lifecycle events?

I am looking for an event that fires when a scene has finished loading and has displayed its content. I am trying to trigger animations on page load, but if I start them in init, they begin before the elements have appeared on screen. The only lifecycle event I have been able to find so far is init(). Am I missing something?
0 Kudos

Re: Scene lifecycle events?

The method I use is to have a Boolean field and a observeField that monitors for changes.

For example, I have a field for In app purchases. When the store cycle completes it pushes a "True" value to the field, then the observe Field runs a callback function to send that data to Google Analytics.

Admitedly, I'm not a "Pro" B/S developer, so there may be a better way, but it works for me.
Need Apps Templates? Content Management for OTT/IPTV? Check me out @
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.