Here is my code : this.createEmptyMovieClip("tempShape",20,1): tempShape.lineStyle... tempShape.moveTo(x1,y1): tempShape.lineTo.... ...
this tempShape is a shape with a strange form... i need to know if a particualr pixel hit this shape for(i=0:i<n:i++) { for(y=0:y<m:y++) { if(tempShape.hitTest(i,y,false) { //do something } } } _______________________________________________ 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