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

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.



Getting accurate accordion height

(2008-03-28 - views: 11524)
Q: Is it possible to get the height of the component? accordionInstance.height returns the height plus content height. So if the accordion is 400 and content height is 150 then the returned height is 550 - even though all headers are collapsed.
A: There's an undocumented event called "onMotionFinished", dispatched when the component finishes the expand or collapse tween. The event object received by the event handler has a property called totalHeight, which represents the final height of the component (after the tween is complete):

import com.jumpeye.Events.AccordionPanelEvents;

myAccPanel.addEventListener("onMotionFinished", motionHandler);

function motionHandler(evt:AccordionPanelEvents):void {
    trace("Accordion panel height :: "+evt.totalHeight);
}


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

Back