On 6/7/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I am asking because what I want to do is change the color of a button to a
> different color but later on reset it to its original color. How do you
> first store the value of the original color and how do you call it back
> later?
Save the return value of getStyle() in a variable.
var oldColor:Object = button.getStyle("color");
Then set it back using setStyle()
button.setStyle("color", oldColor);
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/