Assuming you are using 1.x version for the ArcGIS api for Flex, Have you tried myGraphic.parent?
In ArcGIS API for Flex 2.0 beta,there is a readOnly property called graphicsLayer that returns the parent as an instance of GraphicsLayer. This property is null if the graphic is not added to the Graphics layer.