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: 25914)

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.



Get selected panel and content

(2008-10-29 - views: 8542)
Q: Is there a way to know which one of the panels was selected, to get its contents ?
A: Yes, it is. First of all, to get the panel's contents, simply use the content property of the panel. When a panel is selected, you can use the onPress or onRelease events to know about it (depending on the navigation mode - "press" or "release") and get the reference to the panel itself (evtObj.item). Next, get the contents of the panel: evtObj.item.content.

myEventListener = new Object();
myEventListener.onRelease= function(evtObj:Object):Void {
trace("onRelease event on panel: " + evtObj.item);
}
componentInstance.addEventListener("onRelease",myEventListener);


To know which one of the panels has been selected, place all the panels inside a list (an Array object) and compare the selected panel to the ones from the list, until you get to the panel you want and retrieve its index.

The attached files might help you understand this procedure.
Files: AccPanel_SelectedItem.zip 


Other questions in this item

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

Back