First, I'm sorry that my English is poor
I try to addChild two different SkeletonAnimation In a sprite of one class(starling)
Code is as follows:
......
sa=new SkeletonAnimation(skeletonData);
sa1=new SkeletonAnimation(skeletonData1);
sa1.visible=false;
this.addChild(sa);
this.addChild(sa1);
trace(sa1.visible) //false But it still can be seen
If the code is written like this:
sa1.visible=false;
this.addChild(sa1);
this.addChild(sa);
trace(sa1.visible) //false ,sa1 can not be seen,but sa will always be seen whether its visible is true or not
I want to know why it is can not disappear that it was last added , whether this is a bug
I'm eager to that you can help me!