OK, let me do the math, it's a simple rule of three. We start with a parent
with 1 alpha and add a child which alpha is 0.8 Then we change the parent
alpha to 0.8 so:
Parent --> child
1           --> 0.8
0.8        --> x
x = 0.8 (current child alpha) * 0.8 (parent alpha) / 1 (last parent alpha)

So, at that point the child._parentAlpha is not yet the current parent
alpha but the last one.
 El 04/02/2014 11:45, "Gama11" <notifications@github.com> escribió:

> In flixel/addons/display/FlxNestedSprite.hx:
>
> > @@ -400,7 +401,7 @@ class FlxNestedSprite extends FlxSprite
> >  		{
> >  			for (child in _children)
> >  			{
> > -				child.alpha *= alpha;
> > +				child.alpha = (child.alpha * alpha) / child._parentAlpha;
>
> Why do we need to divide by the parent's alpha? Shouldn't
> child._parentAlpha essentially be the same as alpha?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/HaxeFlixel/flixel-addons/pull/37/files#r9416552>
> .
>