I’m just trying to move a MC across the x-axis. Why is this sucking?
[AS]
onClipEvent(enterFrame) {
trace(tempVar);
tempVar = _xmouse;
_x = tempVar;
}
[/AS]
I’m just trying to move a MC across the x-axis. Why is this sucking?
[AS]
onClipEvent(enterFrame) {
trace(tempVar);
tempVar = _xmouse;
_x = tempVar;
}
[/AS]
onClipEvent(enterFrame) { _x = _root._xmouse }
oh, and use a more descriptive subject next time, ‘wtf’ doesnt do it.
there we go!!! ****it! I forgot the _root. thanks ahmed.
*Originally posted by ahmed *
**
oh, and use a more descriptive subject next time, ‘wtf’ doesnt do it. **
lol
also, you might want to consider using _parent._xmouse or this._parent._xmouse, as, if your movieclip isnt in _root, that _xmouse wont be the same as _root _xmouse
I was just trying to get attention… sorry… _root works though because I’m just making a simple masking thing for my footer that when ur mouse is over it, it reveals my footer and when it isn’t it slides back and forth.
oh k I’ve got most of this working… However, if you take your mouse out of the clip when it is sliding it will jump over and screw up. Can somebody help me out here?
when i test the fla…it opens another file??? weird.
well then fix it.
Try saving it as something else.
*Originally posted by catreya *
**when i test the fla…it opens another file??? weird. **
you’ll have to save it on your harddisk…
:: Copyright KIRUPA 2024 //--