Have to do it programatically....  something like this..

import mx.containers.accordionclasses.AccordionHeader
class MyHeader extends AccordionHeader
{
    [Embed("yourSWF.swf#yourFalseUpIcon")]
    var falseUpSkin:String;
    [Embed("yourSWF.swf#yourFalseDownIcon")]
    var falseDownSkin:String;
    [Embed("yourSWF.swf#yourFalseOverIcon")]
    var falseOverSkin:String;
    [Embed("yourSWF.swf#yourFalseDisabledIcon")]
    var falseDisabledSkin:String;
   
    [Embed("yourSWF.swf#yourTrueUpIcon")]
    var trueUpSkin:String;
    [Embed("yourSWF.swf#yourTrueDownIcon")]
    var trueDownSkin:String;
    [Embed("yourSWF.swf#yourTrueOverIcon")]
    var trueOverSkin:String;
    [Embed("yourSWF.swf#yourTrueDisabledIcon")]
    var trueDisabledSkin:String;
}


Then in the mxml set the AccordionHeader's headerClass like this
<mx:Accordion id="acc" headerClass="MyHeader">
..... your components
</mx:Accordion>




On 7/23/05, superabe superabe <[EMAIL PROTECTED]> wrote:
Hello List,

Is'nt there any way of specifying different theme skins to be used by
diff instances of the same component?

E.G.
Accordion "A" has green graphical skins with a Icon on the top right.
Accordion "B" has blue  graphical skins with no Icon

Form the docs it seem like we can specify only one theme file for the
entire application and the skins affect all Accordions in that App.
:-(

Hoping there is way to do this :-)

Thanks,

superabe


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
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/






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Computer software testing Macromedia flex Development
Software developer


YAHOO! GROUPS LINKS




Reply via email to