Re: OnStartUp actions

Andreas Kraft (kraft@fokus.gmd.de)
Wed, 29 Oct 1997 20:44:57 +0100 (MET)

On Fri, 24 Oct 1997, Emmanuel BEUQUE wrote:

> À (At) 17:01 +0200 24/10/97, Andreas Kraft écrivait (wrote) :
> 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 don't know yet but since Klaus is the leader of the Maintenance task
force it might be possible to install a FAQ on the MUG's web page. But it is
quite some work...

> 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.

Right. But I don't see a good solution for this. A possibility might be
to use some variables in the Application object, but this is not very
feasable.

> 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.

This is quite useless (SetPosition) because you usualy have the screen
coordinates for the objects :-)
No, we haven't found a useful purpose for the Scene::OnStartUp attribute.
We use it in the Application object to make a TransitionTo the Scene but
this can also be done with the method you described below.

> 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.

Thanks.

Best regards,

Andreas

--
  o  _     Andreas Kraft
 (\_|_)      GMD FOKUS, kraft@fokus.gmd.de, +49 30 3463-7232
 T> ] [        The sky is the limit