Knowledge Base

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

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.



Open Accordion panels automatically (slide show)

(2009-10-28 - views: 1355)
Q: Is there a possibility to create a slide show by opening automatically the panels, one by one, after a timed delay ?
A: You can use the Timer class to create the timed delay between opening panels and the panels can be opened "automatically" by calling the expand(panel_id) method of the component. Please refer to the sample files for more details.
Files: AccPanel_SlideShow_AS3.zip 


User Comments

AccPanel AS3 - End after last slide is played
posted by rckeeler on 2009-10-28
Thanks for the AS3. Works great. However is it possible to have the accordion stop once it plays the last slide? In other words, not return to slide 1 and loop, etc. Thx!
End after last slide is played
posted by florodebat on 2009-11-04
rckeeler,

To achieve that you will have to stop the timer after the last panel was opened. So the "if" statement from the openNextPanel function should look like bellow:

function openNextPanel(evtObj:TimerEvent):void {
currentPanelIndex++;
if (currentPanelIndex >= totalPanels)
{
timerObj.stop();
}
else
{
myAccPanel.expand(currentPanelIndex);
}
}

I hope this helps


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

Back