how to make custom cursor
开发者 typehiu44
how to make custom cursor
how to make custom cursor 的标签
简介
this is idea how to make custom cursor sorry but scroll text ok mouse code is:onClipEvent (enterFrame) { this._x = _root._xmouse; this._y = _root._ymouse; } onClipEvent (load) { Mouse.hide(); }
玩法说明
learn
评论
Vara
Nov. 07, 2009
There are 2 epic fails in this: 1. Do not use onClipEvent for shuch stuff. Create a class instead: it's more organized and dynamically useable; 2. this._x = _root._x is an epic fail too, first of all, the "this." is unneeded. And second, it should be _parent._x (instead of _root._x) because the x and y co-ordinates are relative to the parent, not to the root (if the parent IS the root, there is no problem, but it can be that he doesn't want to attach the cursor to the root but to a container or something).
turtlesrfun
Nov. 07, 2009
why does everybody have blood on their avatar now. it makes the avatar look bad
rute25
Apr. 03, 2010
cool man
toonfan723
Dec. 05, 2009
just use realworld
typehiu44
Nov. 15, 2009
This comment has been flagged for admin review.