Thanks Philippe!

On 18/11/05, Niklas Richardson <[EMAIL PROTECTED]> wrote:
> You are da man! :)
>
> Sweet.  Must be some weird instantiation thing why ".icon" didn't work?
>
> Cheers
>
> Niklas
>
>
> On 18/11/05, Philippe Maegerman <[EMAIL PROTECTED]> wrote:
> > Have you tried accd.getHeaderAt(0)['icon'] ?
> >
> > ________________________________
> >
> > From: flexcoders@yahoogroups.com on behalf of Niklas Richardson
> > Sent: Fri 18/11/2005 12:32
> > To: flexcoders@yahoogroups.com
> > Subject: Re: [flexcoders] Accordion Header Icons - Changing during runtime
> >
> >
> > Hi Jim,
> >
> > I gave that a shot and still to no avail.  Still get the error:
> >
> > "There is no property with the name 'icon'."
> >
> > Oh well.  Perhaps I need to figure out these custom header classes!
> >
> > Thanks for the help.
> >
> > Cheers
> >
> > Niklas
> >
> >
> >
> > On 17/11/05, Jim Phelan <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >
> > > The custom class might not benefit you (it has some other features like a
> > > close button), but try this:
> > >
> > >
> > >
> > > Button(accd.getHeaderAt(0)).icon
> > >
> > >
> > >
> > >  ________________________________
> > >
> > >
> > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> > > Behalf Of Niklas Richardson
> > >  Sent: Thursday, November 17, 2005 11:51 AM
> > >
> > >  To: flexcoders@yahoogroups.com
> > >  Subject: Re: [flexcoders] Accordion Header Icons - Changing during 
> > > runtime
> > >
> > >
> > >
> > > Unfortunately I tried:
> > >
> > >  accd.getHeaderAt(0).icon
> > >
> > >  and it doesn't work.  It says "icon" does not exist.  I think that's
> > >  because getHeaderAt() returns a UIComponent object.
> > >
> > >  Would you be willing to share your custom header class?
> > >
> > >  Thanks
> > >
> > >  Niklas
> > >
> > >  On 17/11/05, Jim Phelan <[EMAIL PROTECTED]> wrote:
> > >  >
> > >  >
> > >  >
> > >  > Hey Niklas,
> > >  >
> > >  >
> > >  >
> > >  > I've done this before. I'm accomplishing it with a custom class for the
> > >  > header, but if all you need is the icon you should be able to use
> > > something
> > >  > like accd.getHeaderAt(0).icon = "iconLinkage" Since AccordianHeader is 
> > > a
> > >  > subclass of Button, it should work just fine.
> > >  >
> > >  >
> > >  >
> > >  > Jim
> > >  >
> > >  >
> > >  >
> > >  >  ________________________________
> > >  >
> > >  >
> > >  > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> > >  > Behalf Of Niklas Richardson
> > >  >  Sent: Thursday, November 17, 2005 11:24 AM
> > >  >  To: flexcoders@yahoogroups.com
> > >  >  Subject: Re: [flexcoders] Accordion Header Icons - Changing during
> > > runtime
> > >  >
> > >  >
> > >  >
> > >  > Crapola!  So you'd need some custom header class huh?
> > >  >
> > >  >  Thanks.
> > >  >
> > >  >  Niklas
> > >  >
> > >  >  On 17/11/05, Sreejith Unnikrishnan <[EMAIL PROTECTED]> wrote:
> > >  >  >  The icon is embedded at compile time and may not be changed
> > > dynamically.
> > >  >  >  But then I could be wrong!
> > >  >  >
> > >  >  >  Sree
> > >  >  >
> > >  >  >
> > >  >  >  Niklas Richardson wrote:
> > >  >  >  Hi all,
> > >  >  >
> > >  >  >  I have hunted high and low for an answer to this and I've played
> > >  >  >  around with accordion.getHeaderAt(), getChildAt(), but to no avail.
> > >  >  >
> > >  >  >  Basically, I want to change the icon for a specific accordion 
> > > header
> > >  >  >  depending on a certain state of that child.
> > >  >  >
> > >  >  >  There doesn't seem to be a way at runtime to change the icon.
> > >  >  >
> > >  >  >  Does anyone know a solution to this?
> > >  >  >
> > >  >  >  Thanks.  Your help is much appreciated.
> > >  >  >
> > >  >  >  Cheers
> > >  >  >
> > >  >  >  Niklas
> > >  >  >
> > >  >  >
> > >  >  >
> > >  >  >  --
> > >  >  >  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
> > >  >  >
> > >  >  >
> > >  >  >  Visit your group "flexcoders" on the web.
> > >  >  >
> > >  >  >  To unsubscribe from this group, send an email to:
> > >  >  >  [EMAIL PROTECTED]
> > >  >  >
> > >  >  >  Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
> > > Service.
> > >  >  >
> > >  >  >  ________________________________
> > >  >  >
> > >  >
> > >  >
> > >  >  --
> > >  >  Niklas Richardson
> > >  >  Prismix Ltd
> > >  >
> > >  >  Flex and ColdFusion Experts!
> > >  >
> > >  >
> > >  >
> > >  >  --
> > >  >  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
> > >  >
> > >  >
> > >  >  Visit your group "flexcoders" on the web.
> > >  >
> > >  >  To unsubscribe from this group, send an email to:
> > >  >  [EMAIL PROTECTED]
> > >  >
> > >  >  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> > >  >
> > >  >  ________________________________
> > >  >
> > >  >
> > >  >
> > >
> > >
> > >  --
> > >  Niklas Richardson
> > >  Prismix Ltd
> > >
> > >  Flex and ColdFusion Experts!
> > >
> > >
> > >
> > >  --
> > >  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
> > >
> > >
> > >  Visit your group "flexcoders" on the web.
> > >
> > >  To unsubscribe from this group, send an email to:
> > >  [EMAIL PROTECTED]
> > >
> > >  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> > >
> > >  ________________________________
> > >
> > >
> > >
> >
> >
> > --
> > Niklas Richardson
> > Prismix Ltd
> >
> > Flex and ColdFusion Experts!
> >
> >
> > --
> > 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
> >
> >
> >
> > *        Visit your group "flexcoders 
> > <http://groups.yahoo.com/group/flexcoders> " on the web.
> >
> > *        To unsubscribe from this group, send an email to:
> >          [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> >
> > *        Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
> > Service <http://docs.yahoo.com/info/terms/> .
> >
> >
> > ________________________________
> >
> >
> >
> > ------------------------------------------------------------------
> > **STATEMENT OF CONFIDENTIALITY**
> >
> > This e-mail and any attached files are confidential and intended solely for 
> > the use of the individual to whom it is addressed. If you have received 
> > this email in error please send it back to the person that sent it to you. 
> > Any views or opinions presented are solely those of author and do not 
> > necessarily represent those the Emakina Company. Unauthorized publication, 
> > use, dissemination, forwarding, printing or copying of this email and its 
> > associated attachments is strictly prohibited.
> >
> > We also inform you that we have checked that this message does not contain 
> > any virus but we decline any responsability in case of any damage caused by 
> > an a non detected virus.
> > ------------------------------------------------------------------
> >
> >
> >
> >
> > --
> > 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
> >
> >
> >
> >
> >
> >
>
>
> --
> Niklas Richardson
> Prismix Ltd
>
> Flex and ColdFusion Experts!
>


--
Niklas Richardson
Prismix Ltd

Flex and ColdFusion Experts!


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
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/
 



Reply via email to