Hello,
I'm writing C# application to play crawl from .txt text file. It works perfectly when I play it.
My code is:
engine.GetSceneByName("Krol1", out XPScenaCrawl, onLine);
if (XPScenaCrawl.IsGroup)
XPSceneGroup = (xpSceneGroup)XPScenaCrawl;
engine.GetSceneByName("Scene16", out XPScene1, onLine);
XPScene1.GetObjectByName("Text1", out XPBaseObject);
XPTextObj = (xpTextObject)XPBaseObject;
XPTextObj.Text = textZaKrol;
XPSceneGroup.Looping = true;
XPSceneGroup.AddScene(XPScene1);
XPSceneGroup.SetOnline(framebuffer, 1);
XPSceneGroup.Start();
My question is:
How to update/replace crawl text onscreen with the new text?
I want to periodically update/replace the crawl with the new text, not interrupting the running crawl in the middle, but only after the text has finished.
I've tried to go through the same code, but when I execute it, the crawl goes off screen , then starts on with the new text.
I've tried to add new text to "XPTextObj.Text" but it changes immediately not after the old crawl ends.
Is there a way to achieve this?
Any help is welcome..
Greetings,
Dejan
------------------------------
Dejan Blank
------------------------------