Hi Riccardo,

You can use the following form of hitTest for this:

MovieClip.hitTest (x, y, shapeFlag );

In your case, the MovieClip will be the movie clip in which you've drawn the
shape and x and y will be the coordinates of your pixel (in the global
coordinate space).

shapeFlag is an optional parameter - if set to 'true' the entire shape is
evaluated and if set to 'false' the shapes bounding box is evaluated.

HTH
Adrian P



On 3/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Is possible to use hitTest function to check if a particolar pixel is
> inside
> a run-time created shape?
>
> Thanks
> _______________________________________________
> 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
>
_______________________________________________
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

Reply via email to