Knowledge Base |
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
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
how to change the grey slide?????
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
Witch one is posible? or there is no possibility.
Grateful
Julian
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
It's possible to change the items title but only if you will load another xml each time you change the language.
Adrian
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



