Skinner's work here is bitmap-based and is quite efficient:
http://www.gskinner.com/blog/archives/2005/08/flash_8_shape_b.html This method would require you to attach at least a 1-pixel clip to use for your point, but is way simple compared to the math involved, i'm sure. -Scott On 12/21/06, Oliver Müller <[EMAIL PROTECTED]> wrote:
Hi all, I'm looking for a mathematic way to check if a point resides within a rectangle. The rectangle is not parallel to the axes, instead its rotating all the time. It's not a movieclip so hitTest is out of the question. Any suggestions how I could solve this problem ? cheers, olli _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
-- : : ) Scott _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com