Knowledge Base |
Accordion Panel V3
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
//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