Flasher Archive

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


Subject: Re: FLASH: intersection
From: John Croteau
Date: Mon, 8 Nov 1999 22:34:13 GMT

Hi Rachel,

> Was wondering if anyone had any tips on
> testing for intersection of movie clips.
Generally called collision detection.
2 basic methods.
Drop Target
http://www.FlashBible.com/Members/Drag/DropTarget.htm

and
XY mapping.
See Colin's Collision Detection:
http://www.FlashCentral.com/Tech/ActionScript/Index.htm

> The one way I think it could be done would
> be to find the width and height of the piece
> you are dragging and then store that info.
> Then as other pieces are dragged (drug?)
> around you could test against that info you
> collected. It seems like it could get difficult
> if you started letting the user resize and rotate.
Can get complicated.

--
Coming Soon Flash 4 Web Animation F/X and Design
http://www.amazon.com/exec/obidos/ASIN/1576105555/flashcentral
----------- -----------------------
John Croteau croteauaterols [dot] com (mailto:croteauaterols [dot] com)
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: intersection, Rachel Bachman

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