incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tink <f...@tink.ws>
Subject Re: [DISCUSS] Make EffectManager effects property public
Date Sun, 24 Jun 2012 12:34:51 GMT
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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message