My account
Shopping cart
Knowledge base
Support

Knowledge Base

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

Accordion Panel V3

(views: 18958)

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

Back