onClipEvent question
onClipEvent question
- Started
- Last post
- 0 Responses
- abhi
im trying to make something like the menu at www.gucci.com
i have a 'sensor' MC with onClipEvent (mouseUp) that i thought will cause the menu bar MC to float onto the stage.
somehow, when i tried it, i have to click anywhere on the stage to make the menubar align where i want it to.
the code on the sensor MC is
onClipEvent (mouseUp) {
_root.nav.dragsp = 400;
}and the code on the target MC [menu bar MC] is
onClipEvent (load) {
speed = 4;
dragsp = 550;
}
onClipEvent (enterFrame) {
y = dragsp-_y;
_y += y/speed;
}is mouseUp not clip specific? any leads would be helpful.
thanks in advance.cheers