Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Why does MIAW prevent my timeout scripts from running?

3 views
Skip to first unread message

bill.b...@gmail.com

unread,
Oct 13, 2016, 11:39:27 AM10/13/16
to
I know this is a very old question, but I hit the same problem in the last few days and I just found a solution so I like to record it here anyway.

The situation was very tricky, any running MIAW will render the timeout script on the stage unresponsive or stopped working altogether.

The situation is, the timeout still works when MIAW is running, only that it was defaulted to 10800 ticks which override your stage's timeoutlength. So the timeout script in your stage will trigger once a while as determined by the timeoutlength in your MIAW, not the stage.

The solution is simple, put the timeoutlength script in your MIAW's startMovie handler that matches the value of your stage's timeoutlength.

e.g. if your stage's timeoutlength is 60 ticks, then add this line in your MIAW's startMovie handler;
the timeoutlength=60

Then everything will be ok even when MIAW is running.

This also explained why Gretchen Macdowall's backgroundTimer script will work because it works on tick lapsed in system and it does not depend on the timeout value used by Director.

0 new messages