Knowledge Base |
Important! All new questions are usually answered within the next business day.
Accordion Panel V3
(views: 6395)
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: 1892)
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
//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
Login to post your comment
Other questions in this item:
Installing the Accordion Panel V3 the title isn't showing in the horizontal mode Open the accordion panels automatically Use the Accordion Panel without external XML file Vertical title for horizontal accordion panel Load different kind of data into AccordionPanelV3 Open the Accordion Panel upwards Stopping video content when changing the panel Auto open a panel on startup Accordion Panel communicates with a loader Dimensions Rotate the direction of the text on horizontal Accordion HyperLinking panels TEXTU appears in my file Panel opens only after content is loaded, when loadExpandedItemsOnly is true Access header title and panel content Panel opens only after content is loaded, when loadExpandedItemsOnly is true Access accordion panel loaded with loadMovie inside container clip Acces accordion panel from content Access header title and panel content Load new content without XML Non Latin characters Flv playback inside accordion Non Latin characters Acces accordion panel from content Getting accurate accordion height Graphics below the accordion panel Get the size of panel's content Open panels from bottom to top and left to right Accordion Panel communicates with a loader Open URL from panel content, not from panel header Open URL from panel content, not from panel header Open panels upward for vertical accoirdion and to the left for horizontal accordion Get selected panel and content Panels with different sizesMenu |
|
|
