Hey,
it seems setting the alpha value on a SkeletonAnimationSprite only works as visible (>0) and invisible (0) with nothing in between (i.e. setting alpha = 0.5 is the same as alpha = 1).
I saw that the render function gets an alpha value but couldn't find what actually calls it, so my current solution was to write and use the following class:
public class AlphaSkeletonAnimationSprite extends SkeletonAnimationSprite
{
public var skeletonAlpha:Number;
public function AlphaSkeletonAnimationSprite(skeletonData:SkeletonData)
{
super(skeletonData);
skeletonAlpha = 1.0;
}
override public function render(support:RenderSupport, alpha:Number):void
{
super.render(support, skeletonAlpha);
}
}
is there a more straightforward solution?