Bernd Eckardt
2005-12-02 11:41:37 UTC
I have a CCollection as part of a CPlayer and a method triggering
changes in this collection with <on: changed in: collection>. This
works fine as long as I don't add anything to the collection from inside
the initilze method of the CPlayer. I expected that this changes also be
signalised as normal field changes in the initialize method. The reason
for that behaviour is the order of installing the scripts and triggers.
Is there a constraint to avoid such a constellation and bypass the
problems by using startscript to fill the collection or call the method
triggering the event by hand?
Bernd
changes in this collection with <on: changed in: collection>. This
works fine as long as I don't add anything to the collection from inside
the initilze method of the CPlayer. I expected that this changes also be
signalised as normal field changes in the initialize method. The reason
for that behaviour is the order of installing the scripts and triggers.
Is there a constraint to avoid such a constellation and bypass the
problems by using startscript to fill the collection or call the method
triggering the event by hand?
Bernd