Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 07-19-2005, 08:15 AM   #1
Registered User
Join Date: Feb 2005
Posts: 3
Default useHandcursor Accordion


Im trying to make hand cursor on the header of the accordion, however it seems impossible.. Any ideas are very welcome...
freelife is offline   Reply With Quote
Old 12-07-2005, 11:22 PM   #2
Registered User
Join Date: Oct 2002
Posts: 7

myAcc._header0.useHandCursor = true

myAcc = the instance name of your accordion
header0 = the header in which you want to allow the hand cursor.

Hope that helps,
crucial is offline   Reply With Quote
Old 08-15-2006, 04:05 AM   #3
Registered User
Join Date: Aug 2006
Posts: 1
Default hand cursor in accordion


Are there any other code for using hand cursor aside from
myAcc._header0.useHandCursor = true code?

The code above doesn't work on me..

Any help would do.

Thank you very much.
jhennie is offline   Reply With Quote
Old 08-15-2006, 03:34 PM   #4
Registered User
Join Date: Oct 2002
Posts: 7

One small detail I forgot to mention... you'll need to use the code I listed above in a frame AFTER the accordion has been placed on the stage.
You can also set up a doLater function like:

function setCursor():Void {
    myAcc._header0.useHandCursor = true;
myAcc.doLater(this, "setCursor")
Basically the accordion takes a frame to initialize. The doLater function will get called as soon as the accordion is ready to hear it. the doLater function accepts 2 parameters doLater(target:MovieClip, function:String). Just pass in the timline that your fucntion you want called (in this example this, since our timeline for the function is the same as the accordion), and the name of the function (in this example "setCursor").

Hope that helps,
crucial is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 08:30 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.