Flash, buttons won't work while dragging MC
- Started
- Last post
- 29 Responses
- Visia0
don't use the startDrag() function. That monopolized the mouse. Instead you'll need to do something along these lines:
on(press){
if(dragging = false){
dragging = true;
myDragMC._x = _xmouse;
myDragMC._y = _ymouse;
}else{
dragging = false;
myDragMC._x = myDragMC._x;
myDragMC._y = myDragMC._y;
}
}It's rough but you'll need to figure out how to refine it yourself. I've given you everything you'll need right there.
- kyl30
G4H, Katie says hi!
- gunforhire0
How's LA treating you?
kyl3
(Sep 11 05, 21:11)kirupa, not just for spam anymore!
LA is cool, tons of work and sunshine.
- gunforhire0
hi katie! hi camino and uhh oso was it>? hi hi!
- kyl30
otto
cool man good to hear youre doing well
- Xentic0
well, what I have is this pretty simple set up.
One horizontal MC with a few buttons inside of it. On this MC I have the following code:
onClipEvent (enterFrame) {
startDrag(_root.menu,true,45,10...
}that's pretty much it.
The menu is following the mouse when I'm in that area... but I can't click on the buttons inside of the menu MC.
- Visia0
dude, no offense, but are you blind? I gave you the answer about 6 replies ago.
- kyl30
sorry I hijacked this thread yesterday.
ok not really//
- Xentic0
oops. Thanks Visia.
I didn't see that post. But I already find that solution. It works good. Thanks.