This is a discussion on "hitTest problem" within the Flash & Multimedia Forum section. This forum, and the thread "hitTest problem are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
hitTest problem
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
hitTest problem
I have a problem wth hitTest, visit the test game; http://www.flash-online-games.co.uk/camera.swf
Now if you move the orange dot anywhere in the black rectangle, it will detect a collision. How do I make it so it only detects a collision when the orange dot hits the red scope??? Anyone know of a way to do this? Thanks in advance |
|
|
|
|||
|
Re: hitTest problem
Yep, you can definitely set the hit target to a specific object.
Check this out to get you started. http://www.kirupa.com/developer/acti...pt/hittest.htm
Last Blog Entry: Yay!? (Oct 8th, 2007)
|
![]() |
| Tags |
| hit test |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| First image problem and inline list problem | konnor5092 | Web Page Design | 8 | Dec 1st, 2007 09:08 |
| hitTest | tox0tes | Flash & Multimedia Forum | 1 | Sep 20th, 2007 21:56 |
| HitTest - Tell an outside MovieClip to go to nextFrame() | idelle | Flash & Multimedia Forum | 1 | May 16th, 2007 22:20 |
| HitTest issues | Flashist | Flash & Multimedia Forum | 2 | Feb 25th, 2007 03:03 |