I have a component which allows an effect to be added to it. 

Usually this is defined using the Effects Metadata tag in the AS file.

However in this case I need to be able to access the effect from inside 
by component (like to check whether there is an effect defined, to add 
a listener so I know when it finishes running, to stop it etc.).

The only way I could figure to do that was to define the effect as a 
full property and remove the metadata.

Is that the right approach?

I will admit its not a biggie and it works fine for me as a property, 
its just the metadata approach means it gets properly doc'd by asdocs 
and it is the "standard" way people expect effects to be presented.

Tks

Reply via email to