PDA

View Full Version : Non-Clickable MovieClip


jrwells
02-02-2004, 12:36 PM
I am having a little problem working something out, and thought that I would throw it up to the brilliant minds of this forum.

I have a movie clip that has a rollover script added to it, but I don't want it to be clickable, thus I don't want the hand icon to show up. How do you make a movie clip with a rollover non clickable?

gimmix
02-02-2004, 03:19 PM
hhmm I think your movie clip is a button not a mc ;D

maybe you can upload your rolloverscript in a fla somewhere

Ian Jones
02-03-2004, 12:48 AM
No, He's right... I just tested. It does indeed make the cursor change if you rollover a movieclip with a rollover script.

I figured it out a solution. Here's the code embedded in my test movieclip:


onClipEvent (load) {
this.useHandCursor=false;
}

onClipEvent (enterFrame) {
this.onRollOver = function() {
trace("hello");
}
}


I hope that helps.

jrwells
02-03-2004, 04:52 AM
Great, thank you very much Ian, I will work this into my script as soon as I get a chance, but I am sure it will work. Thanks again.

jrwells
02-03-2004, 12:37 PM
Just threw it in there, and yup, works perfectly, you are a god Ian.

CGTalk Moderation
01-17-2006, 09:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.