There is a parent script named "PersonalZelle" (personal cell) which has a function named "switchCameraCB". I didn't find any call of this function via text search in other scripts. I already tried chosing to search in "all cast members" (German: "Alle Besetzungen"). But placing a breakpoint there and debugging it, this function is actually used in the running application! Ô.ô How can that be?
When the debug window opens, in the top left hand pane you should have access to the handler stack and be able to see which handler called the handler in question.
Or perhaps it's a callback function from an xtra?
In another script, there is a variable named piVideoNum. This variable is NOT instanciated and no value is given to it in the whole code. But debugging it, it always has the correct value which it should have. How can that be? Ô.ô where does it take the value from? As far as I know there is no UI-part having this variable attached. In the UI, you have three videos which you can klick, and if klicked, the correct number of the video is saved in piVideoNum. But in the attached behavior script there is nothing. The method which handles the klick calls another method and sends the piVideoNum - without having altered it before. Maybe it's also done by some "hidden" script/code?
As you say, it must be initialised somewhere. Perhaps it is manipulated directly by another script?