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

Accordion Panel V3

(views: 4638)

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: 1334)

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 


Login to post your comment login to post your comment



Back

Knowledge Base Search

Enter keywords bellow:
Advanced Search

Menu

Special Offer

Special Offer - All in one Jumpeye Components bundle!

Get the JC Master Collection Now!

Free Trial Versions

The trial versions do have a major limitation. They will ONLY run into debugger flash player versions, such as the Flash IDE player and the activeX FP used by developers.

Switch from Free Trial version to Full version.

You can switch from Trial to Full versions in a blink of an eye.
See this tutorial in order to find out how.

We accept Google Checkout

Google Checkout Acceptance Mark

Secured by VeriSign