Hey
Would you use this code to make the camera follow the mouse - and would this stop you from being able to see outside of the camera?Like a sniper zoom.
this._x=mouse._x;
this._y=mouse._y;
Thanks!
Hey
Would you use this code to make the camera follow the mouse - and would this stop you from being able to see outside of the camera?Like a sniper zoom.
this._x=mouse._x;
this._y=mouse._y;
Thanks!
I think it's supposed to be _xmouse and _ymouse, dont quote me on that.
Cant be arsed opening flash.
.
At 8/7/06 07:00 AM, nitro_goat wrote: lol - ok. so ..
this._xmouse._x;
this._ymouse._y;
Nah man:
this._x = _xmouse
this._y = _ymouse
and I think you dont need the this. so:
_x=_xmouse
_y=_ymouse
Better again use drag:
onClipEvent (enterFrame) {
startDrag ("", true);
}
.
At 8/7/06 07:05 AM, Fionmaster wrote:At 8/7/06 07:00 AM, nitro_goat wrote: lol - ok. so ..Nah man:
this._xmouse._x;
this._ymouse._y;
this._x = _xmouse
this._y = _ymouse
and I think you dont need the this. so:
_x=_xmouse
_y=_ymouse
Better again use drag:
onClipEvent (enterFrame) {
startDrag ("", true);
}
Thanks for ur help m8