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

Hi

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
crucial
Registered User
 
Join Date: Oct 2002
Posts: 7
Default

try
Code:
myAcc._header0.useHandCursor = true
where

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

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

Hello,

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
crucial
Registered User
 
Join Date: Oct 2002
Posts: 7
Default

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.
----OR----
You can also set up a doLater function like:

Code:
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,
-Dave
crucial is offline   Reply With Quote
Reply


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 12:33 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.