Knowledge Base

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

Accordion Panel V3

(views: 14894)

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.



Use HandCursor on Accordion Panel's items

(2007-07-20 - views: 4845)
Q: I need a way to turn the cursor into a hand cursor when someone mouses over the Accordion Panes. Can you please let me know if you can make this happen?
A: Attached is a fla file which contains the actionscript that will allow you to use handCursor on Accordion Panel's items. However, below is the full commented actionscript you need.

//Set the property useHandCursor to true for the accordion's headers
//First we have to listen for an event that is dispatched after all the component is drawn
var lis={}
lis.onDrawComplete=function(){
    if(accordionPanel.items){
        //We traverse the children list and for every item we set its header's useHandCursor property to true 
        for(var i in accordionPanel.items){
            accordionPanel.items[i]._header.useHandCursor=true
        }
    }
   
}
//accordionPanel is the instance name of your panel component on stage
accordionPanel.addEventListener("onDrawComplete",lis);

See the attached file.
Files: HandCursor.zip 


User Comments

What is the code for AS3?
posted by bDoc on 2010-01-25
It would be great if someone could post the code for AS3.
Write to support
posted by florodebat on 2010-01-27
Please open a new support ticket and I am sure you will get that code. Please don't forget to specify the order ID.

https://www.jumpeyecomponents.com/support/open.php


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 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 Open Accordion panels automatically (slide show)

Back