I prepared the essence of this bug (component constructor ran once more). I really can't find a mistake in this short code, but maybe I just didn't code it properly for reflection or some other mechanism...
Here is the flashDevelop project:http://gospoda.oz.pl/vidmo.rar
but I only instantiate
And trace is only in Vidmo constructor, tracing the number argument.
Thank You in advance.
EDIT: oh, the "0" disappears when I comment out these lines in main command:
so it's like the problem is somewhere around, or inside, reflection mechanism.