' Create the splash screen'
m.screen = CreateObject("roSGScreen")
m.port = CreateObject("roMessagePort")
' Create the component'
m.scene = m.screen.CreateScene("splash")
BRIGHTSCRIPT: ERROR: roSGScreen: create screen interrupted.: pkg:/source/controllers/....
I understand from your replies this is the wrong approach, and i had suspected as much. Thank you for confirming.
So usually you just create one scene and remove nodes manually before inserting others. Can you share some sample code?
"Scenography Swami" wrote:
Our recommended usage pattern is to create one RoSGScreen and one Scene node for a channel. You can treat the child nodes of the Scene (or one of its children) as different “views” and add transitions between them (e.g. crossfades, slides, etc.). This provides the same functionality as multiple Scene’s, just a different implementation.
I don’t think there is anything to prevent you from using multiple RoSGScreen’s but setting things up that way might fail to take advantage of future improvements to channel launching transitions, etc.