Know what has been drawn in a 'graphics' object

Hi,

Lets say I have a customMovieClip. I sometimes draw an ellipse with customMovieClip.graphics and sometimes a rectangle.

Now I want to know what was the shape ( ellipse/rect) that was created using a particular graphics object. Doing this would enable me to pinpoint what exactly to do with that customMovieClip() instance.

Ny ideas?
I couldn’t find how to search for this ( if it exists) in the forums. :slight_smile:

Thanks.