Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Flash5 question (collision detection)
From: Mike S
Date: Fri, 4 Aug 2000 19:41:40 +0100

At 01:13 PM 8/5/2000 -0400, you wrote:
>HI Flash 5 testers..
>
> I plan to use flash 5 for a new product... and I
>want to know if its possible to detect if a MC is over a specific shape..
>(probably placed on a MC).. I aleready do this in Director... .
>
>But I dont want to detect the collision on a square or on a circle, but on a
>shape... Is this possible??


Yes.

Use myMovieClip.hitTest( target ); It returns true if they collide.

--mikes

------------------
Michael S.
Sr. Software Engineer
Excite@Home

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Full flasher archive now available online at:
http://www.chinwag.com/flasher/archive.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: Flash5 question (collision de, Karin Christensen

Replies
  FLASH: FW: Sound???, Tim Ryan
  FLASH: Flash5 question (collision detect, Steve Couture

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]