Animations are not being loaded

Thank you, I was able to get a single animation working also in pview. It took me some time to figure it out, maybe I got the wrong thinking paradigm for it.
So, lets say, if I want to create a model with many animations in a single .egg (or .bam) file and let my C++ code load the model and pick a animation, by its name, to play, then do I always have to pass ~0 as flag value?