That's what I thought but it only contains trigger effects. The effects
dictionary contains effect instances that are registered in
mx.effects.EffectInstance startEffect() and then removed with the
finishEffect(). You can get the

    public function startEffect():void
    {
        EffectManager.effectStarted(this);
    }

The Effect class factory calls startEffect in it's play() method. It
doesn't have the effect and effectInstances that EffectNodes gives you but
if you have the effect instance it has a reference to the effect class.



On Sun, Jun 24, 2012 at 7:34 AM, Tink <f...@tink.ws> wrote:

> Effects is a Dictionary that uses an effect as the key of an entry, and
> only ever uses 1 as the value of an entry.
>
> If you want to know what effects are playing, can't you use the
> mx_internal 'effectsPlaying' property? This is an array of EffectNodes (an
> internal class so you wouldn't be able to type to it), but each has a
> factory property for the Effect and an instance property for the
> EffectInstance.
>
> Tink
>
>
> On 24 Jun 2012, at 13:16, Justin Mclean wrote:
>
> > Hi,
> >
> >> Currently the EffectManager effects property is private. This property
> >> shows what effects are in effect. Making this public will allow for
> >> diagnostics.
> >
> > Probably adding a pubic getter would be a little safer? What do other
> people think?
> >
> > Justin
>
>

Reply via email to