Title: Message
Using setStyle(), I hope.
 
Is the inheritingStyles property even documented?
 
- Gordon
-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick Schmitty
Sent: Thursday, May 19, 2005 2:47 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Announcing Flex Style Explorer

how are they changing everything 'on the fly' so to say?  I'm assuming they are accessing the styles directly, but how do you get it to update?

For example

<mx:Script>
<![CDATA[
    function changecolor(){
        p.inheritingStyles.headerColors[0]=00000000;   
        p.inheritingStyles.headerColors[1]=00000000;   
        p.nonInheritingStyles.headerColors[0]=00000000;   
        p.nonInheritingStyles.headerColors[1]=00000000;
        // do something here???       
    }
]]>
</mx:Script>
<mx:Panel id="p" title="test" width="100" height="100"/>
<mx:Button click="changecolor();" label="change"/>


On 5/17/05, Jae Hess <[EMAIL PROTECTED]> wrote:
Not sure if you have heard the news:

Announcing Flex Style Explorer

http://www.markme.com/mc/archives/007740.cfm




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/






Yahoo! Groups Links

Reply via email to