my friend is having a problem with this. i'm pretty sure hes using mx, but i'm not positive. heres the problem in his words:
this controls my sliding menu,
problem is it shifts the menu the opposite direction that i want. HELP!!!
onClipEvent (enterFrame) {
Xpos = _root.slideMenu._x;
Xdiff = (_root._xmouse - 345) - Xpos;
Xmove = Xdiff/50;
if(_root._xmouse > 0 && _root._xmouse < 350){
_root.slideMenu._x = Xpos + Xmove;
}
_root.menuPos = _root.slideMenu._x;
updateAfterEvent(enterFrame);
}
this controls my sliding menu,
problem is it shifts the menu the opposite direction that i want. HELP!!!
onClipEvent (enterFrame) {
Xpos = _root.slideMenu._x;
Xdiff = (_root._xmouse - 345) - Xpos;
Xmove = Xdiff/50;
if(_root._xmouse > 0 && _root._xmouse < 350){
_root.slideMenu._x = Xpos + Xmove;
}
_root.menuPos = _root.slideMenu._x;
updateAfterEvent(enterFrame);
}