Post 4 made on Monday December 4, 2017 at 22:59 |
Lyndel McGee RC Moderator |
Joined: Posts: | August 2001 12,997 |
|
|
The reason it is putting your label back is because you already had a task scheduled and as only the overlay is being hidden, the activity is still active.
Note that CF.activity().scheduleAfter functions at the Activity Level (because it is a member function of the activity instance), not at the Overlay Level. :-)
If you want to really see what is happening do what I suggested above (quoted below).
If you'd like to see what is really happening, put System.print() statements right before each scheduleAfter call indicating you are scheduling and then a System.print statement right after each function begins execution. I posted a thread a few years back about debugging pronto script where I suggest using try/catch blocks and System.print, etc...
After you use System.print to identify the ordering you have, the doAnimation variable suggestion I made above with examples will solve your issue. ;-)
|
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|