Ryan,

 

Try using "undefined" instead of "null". You can also just call
"clearStyle()" in the effectStart handler of any generic effect. 

 

Jason

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of rkettrey
Sent: Monday, November 26, 2007 8:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] SetStyleAction - clear style?

 

With respect to styles, you can setStyle() or clearStyle(). There is 
an effect, SetStyleAction, that allows you to accomplish the setStyle().

Is there some way of accomplishing clearStyle() as an effect? Using a 
SetStyleAction with a value of null does not work, as the style is 
still there, and for ints a null style value is often interpreted as 0.

At this stage I am thinking of making a custom effect, which seems easy 
enough, but did not want to re-invent the wheel.

-Ryan

 

Reply via email to