Knowledge Base |
Important! All new questions are usually answered within the next business day.
Accordion Panel V3
(views: 5304)
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-03-24 - views: 776)
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
Login to post your comment
Other questions in this item:
Installing the Accordion Panel V3 the title isn't showing in the horizontal mode Open the accordion panels automatically Use HandCursor on Accordion Panel's items Use the Accordion Panel without external XML file Vertical title for horizontal accordion panel Open the Accordion Panel upwards Load different kind of data into AccordionPanelV3 Stopping video content when changing the panel Auto open a panel on startup Rotate the direction of the text on horizontal Accordion Accordion Panel communicates with a loader Dimensions TEXTU appears in my file HyperLinking panels Access header title and panel content Panel opens only after content is loaded, when loadExpandedItemsOnly is true Panel opens only after content is loaded, when loadExpandedItemsOnly is true Acces accordion panel from content Access accordion panel loaded with loadMovie inside container clip Load new content without XML Non Latin characters Flv playback inside accordion Acces accordion panel from content Getting accurate accordion height Graphics below the accordion panel Non Latin characters Get the size of panel's content Open panels from bottom to top and left to right Accordion Panel communicates with a loader Open URL from panel content, not from panel header Open panels upward for vertical accoirdion and to the left for horizontal accordion Open URL from panel content, not from panel headerMenu |
|
|
