
Welcome Guest
|
#1
|
|||
|
|||
|
Hello... this is my first post on the forum but I look forward to plenty more. Anyway, In the works of a navigation menu I was looking to have a wheel(see below) follow the mouse, but only in a certain area. Here's what I mean :
[swf x=600 y=480]http://home.comcast.net/~donwilmot/abc1.swf[/swf] where the wheel moves on the right I would like it to move just along that white stripe. I tried searching everywhere and could'nt find what I was looking for. Hopefully someone might be able to steer me in the right direction. I also read somewhere about using hit test? I couldnt seem to get that to work well. the code I'm using right now is: onClipEvent (enterFrame) { this._x = _root._xmouse; this._y = _root._ymouse; if(this._x<=604.5){ this._x=603; } if(this._x>=640){ this._x=639; } if(this._y<=65){ this._y=66; } if(this._y>=458){ this._y=457; } } Thanks in advance for any help! |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Follow Mouse (only in certain area)? | codeoverride | Flash CS3 / Flash 9 |
0 | 10-09-2009 06:58 PM |
| move mouse within circle | fabgar | Flash MX ActionScript |
0 | 03-22-2006 04:14 PM |
| local mouse postion | chris12295 | Flash MX ActionScript |
1 | 06-02-2004 12:01 AM |
| Button HIT area makes mouse alternate between Pointer and Hand?? | GavinJones | Flash MX |
2 | 12-07-2002 05:45 PM |
| mouse checking in specific frame | yan | Flash 5 Actionscript |
4 | 06-25-2001 07:15 PM |





