Dear Andreas,
It's a quite old problem IMHO.
I noticed it about one year ago and reported the contradiction to Tom
Schwengler but it was unfortunately just too late for the published version.
Then I think he has mentioned this problem here on this list and have also
put an explanation in the technical FAQ on his site.
I think it could be well if a similar site could be maintained about MHEG-5
FAQs and standard problems that should be corrected. Any volunteer to
maintain it ?
I think the main problem is that scene variables are not active when the
OnStartup is executed. Moreover, shared application variables are neither
active when the first scene onStartup is executed. This doesn't allow us to
use these variables in the Onstartup action.
The conclusion of all this is that the onStartup should only be used to
make things on available ingredients (for instance setPosition or
setBoxSize of an application visible that is available) and before it is
displayed.
Then if you need to do things at the end of the activation, just use an
IsRunning link targeted to the scene object that will be executed
synchronously.
BTW, I agree with your proposal of modification.
__________________________________________________________________
Emmanuel BEUQUE mailto:ebeuque@pratique.fr
MediaServ tel: +33 (0) 2 99 64 35 64
Multimedia consultant & developer fax: +33 (0) 2 99 64 36 65