Knowledge Base

Important! All new questions are usually answered within the next business day.

Accordion Panel V3

(views: 14895)

Accordion Panel V3 is a professional accordion component that loads movies and movieclips and supports both horizontal and vertical orientation, it supports customized tweens, states and visual styles. Here are all known issues for Accordion Panel V3. If you have any questions that you think we should discuss here please let us know.



Access header title and panel content

(2008-02-12 - views: 4010)
Q: Is there a way to change the title of the item's header ? How about gaining access to the panel's contents ?
A: All these elements of an AccordionPanel item can be accessed through code. For example, in case of an event dispatched by an item of the accordion panel, the component passes an event object. This object holds a reference of the item that dispatched the event. In this case you would gain access to the title text field and panel content like this:

eventObject.item._header.accText - this is the header's text field (the item's title)
eventObject.item.content - this is a reference to the content loaded into the panel

The attached example shows you how to make use of these elements.
Files: AccPanel_AccessData.zip 


User Comments

AS3 version / syntax
posted by imperial_mic on 2008-03-23
is it the same method for AS3?
It's the same syntax (for the header and contents access)
posted by negush on 2008-03-24
I've updated the example package so know it contains an example for the AS3 version too. I've also added an item in the knowledge base, specially for the AS3 section: http://www.jumpeyecomponents.com/knowledgebase/Accordion-Panel-V3/Access-header-title-and-panel-content~415/
how to change slider
posted by rahulkumar12334 on 2008-08-18
hello sir,

how to change the grey slide?????
how to change slider
posted by negush on 2008-08-19
Please be a little more specific. What gray slide would you like to change ?
Access to title header without event
posted by apocrifo on 2010-07-22
I am looking this Accordion Panel V3 and i dont now if it is possible to change de title about everyone items when the lenguage change this change is external or the second posibility is reload other xml file with .
Witch one is posible? or there is no possibility.
Grateful
Julian
how to change title
posted by kneo on 2010-07-23
Hello Julian,

It's possible to change the items title but only if you will load another xml each time you change the language.

Adrian


Login to post your comment login to post your comment

Other questions in this item

Installing the Accordion Panel V3 Open the accordion panels automatically Vertical title for horizontal accordion panel Accordion Panel communicates with a loader Use the Accordion Panel without external XML file Auto open a panel on startup Use HandCursor on Accordion Panel's items the title isn't showing in the horizontal mode Stopping video content when changing the panel Load different kind of data into AccordionPanelV3 Dimensions Panel opens only after content is loaded, when loadExpandedItemsOnly is true Open the Accordion Panel upwards Access accordion panel loaded with loadMovie inside container clip Non Latin characters Accordion Panel slide show Get the size of panel's content Panel opens only after content is loaded, when loadExpandedItemsOnly is true Rotate the direction of the text on horizontal Accordion TEXTU appears in my file Getting accurate accordion height HyperLinking panels Open URL from panel content, not from panel header Flv playback inside accordion Open URL from panel content, not from panel header Load new content without XML Open panels from bottom to top and left to right Graphics below the accordion panel Acces accordion panel from content Acces accordion panel from content Access header title and panel content Non Latin characters Accordion Panel communicates with a loader Open panels upward for vertical accoirdion and to the left for horizontal accordion Get selected panel and content Panels with different sizes Load new content without XML Open Accordion panels automatically (slide show)

Back