You may be making this hard. I do dynamic Accordions using repeater, works great. If you really are insistent on AS only, then use addChild(). Accordion is just a navigation container.
Tracy Spratt, Lariat Services, development services available _____ From: [email protected] [mailto:[email protected]] On Behalf Of timgerr Sent: Tuesday, March 24, 2009 11:08 AM To: [email protected] Subject: [flexcoders] Re: Dynamic Accordion So I have been reading actionscript on how to do this and I am running into some troubles, I seem to have to use createSegment but I dont see it in flex, here is what I mean: var a:Accordion = new Accordion(); a.createSegment("Some Parameters"); I dont get a.createSegment in my list of things I can add to a. What am I doing wrong? Thanks, timgerr --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com, "timgerr" <tgallag...@...> wrote: > > Can some one point me to an example of an accordion done in actionscript? I want to create a menu with an accordion in it in actionscript but cannot find any examples on how to do the accordion. > > Thanks, > > timgerr >

