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.



Open the Accordion Panel upwards

(2007-07-12 - views: 15952)
Q: I was wondering if I can make the Accordion Panel v3 expand upwards instead of downwards?
A: The default behavior of the Accordion Panel is to expand downwards or left to right. However you can "simulate" the upward functionality (vertical orientation mode) and below is how you can do it.
First of all you have to create an "invisible" title item and content. You have to create a state (and apply a style) for the first item of the accordion panel. On the attached files, if you open the expandUpwards.fla inside the Library you'll find the AP_GreenA2_style2_false_up item which have the same linkage id as its name. If you open that movieclip you'll notice that it is an empty one. This way we will have the invisible title. Inside the XML file you have to let the title parameter empty and you must create an style for the "invisible" item as below:

<item style="style2" title=""  contentPath="test.swf" contentSize="150" />
.....
.....
    <style2>
            <states>
                <up>
                    <mcLinkageId>AP_GreenA2_style2_false_up</mcLinkageId>
                </up>
            </states>
    </style2>
......
As you've noticed the content of the first item is test.swf which is an empty swf file (see the test.fla file).

Once you have done all these steps, all you have to do is to add a snippet that will collapse the second item (the second item of the accordion panel is the first visible one) on second click on it.

Too confusing? Download the attached example.
Files: expandUpwards.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 Stopping video content when changing the panel 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 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 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