Try

 

    setStyle("effectName", undefined);

 

Gordon Smith

Adobe Flex SDK Team

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Josh McDonald
Sent: Tuesday, March 25, 2008 6:25 PM
To: [email protected]
Subject: Re: [flexcoders] How do I remove an effect?

 

I was beginning to think that might be the only way to go about it. Lame
:(

But cheers :)

-J

On Wed, Mar 26, 2008 at 9:53 AM, Rick Winscot <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote:

ARRRR MATEY.

 

Foo.filters = [];

 

Where Foo be your object with the filter.

 

 

Rick Winscot

 

 

From: [email protected] <mailto:[email protected]>
[mailto:[email protected] <mailto:[email protected]> ]
On Behalf Of Christian
Sent: Tuesday, March 25, 2008 6:17 AM
To: [email protected] <mailto:[email protected]> 
Subject: Re: [flexcoders] How do I remove an effect?

 

I'm not sure if this is possible, but I know that in the past, I've set
effects using setStyle('effectName', EffectClassInstance). Would it be
possible to just use that and set it to null perhaps?

On Tue, Mar 25, 2008 at 3:09 PM, Josh McDonald <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote:

Hey guys,

How do I remove an effect? stop() and end() both just stop the effect,
rather than getting rid of it. Do I have to go and remove the filter by
hand (it's a glow Effect)?

-J

-- 
"Therefore, send not to know For whom the bell tolls, It tolls for
thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  




-- 

"Every child has many wishes. Some include a wallet, two chicks and a
cigar, but that's another story."




-- 
"Therefore, send not to know For whom the bell tolls, It tolls for
thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  

 

Reply via email to