Mike, You can use either accordionInstance.getChildAt(index) to get an child at a specific index, or accordionInstance.selectedChild to get the currently selected child. Both methods should return a reference to a movie clip within the accordion.
http://livedocs.macromedia.com/flash/8/main/00003088.html http://livedocs.macromedia.com/flash/8/main/00003091.html Regards, Peter deHaan Adobe Systems Incorporated On 3/29/06, Mike Anderson <[EMAIL PROTECTED]> wrote: > > Okay, I am an idiot :) > > selectedIndex - duh! > > For some reason, I was looking for something specific, therefore > overlooking the obvious. > > Still, how to address a MovieClip that has been instantiated by the > Accordion Control continues to evade me. It must be some type of > "child" property, but I am still skimming the help docs for the answer. > > If anybody has a quick answer on this, I'd greatly appreciate it. > > Thanks! > > Mike > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Mike > Anderson > Sent: Wednesday, March 29, 2006 2:42 PM > To: Flashcoders mailing list > Subject: [Flashcoders] Controlling Accordion using ActionScript > > Hello All, > > I literally read ALL the posts in the Archives regarding the Accordion > component, and there was no mention of what I need. > > It seems as if the Accordion is only setup to broadcast certain events, > when the Accordion itself is actually clicked on. > > My goal is to remotely control my Accordion control, so that there are > multiple ways to cause the Sliding Animation. I have a top MenuBar, in > which I want options available, to cause the Accordion Control to > animate to the proper Child. > > Am I missing something, or is the Accordion simply not designed for > this? > > Also, how can I communicate with MovieClips contained within the > Accordion Children? It seems as if the Accordion Control is acting as a > Container - so must I first create a variable that refers to the > Contents of the Accordion, before I can communicate with the Children's > components? There is no reference to this topic either. > > Kind of like the Window Control - myWindow.content.controls? > > Thanks in advance for all your help, > > Mike > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training http://www.figleaf.com > http://training.figleaf.com > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- ------------------------- Lanny McNie _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com