Вот тебе работающий набор функций для Flash. Надеюсь, разберёшься, что к чему:
' =============== Flash =================
Public Sub FlashFeature(pFeature As IFeature, _
pMxDoc As IMxDocument, _
pSleepTime As Long)
' Start Drawing on screen
pMxDoc.ActiveView.ScreenDisplay.StartDrawing 0, esriNoScreenCache
' Switch functions based on Geomtry type
Select Case pFeature.Shape.GeometryType
Case esriGeometryPolyline
FlashLine pMxDoc.ActiveView.ScreenDisplay, pFeature.Shape, pSleepTime
Case esriGeometryPolygon
FlashPolygon pMxDoc.ActiveView.ScreenDisplay, pFeature.Shape, pSleepTime
Case esriGeometryPoint
FlashPoint pMxDoc.ActiveView.ScreenDisplay, pFeature.Shape, pSleepTime
End Select
' Finish drawing on screen
pMxDoc.ActiveView.ScreenDisplay.FinishDrawing
End Sub
Private Sub FlashLine(pDisplay As IScreenDisplay, _
pGeometry As IGeometry, _
pSleepTime As Long)
Dim pLineSymbol As ISimpleLineSymbol
Dim pSymbol As ISymbol
Dim pRGBColor As IRgbColor
Set pLineSymbol = New SimpleLineSymbol
pLineSymbol.Width = 4
Set pRGBColor = New RgbColor
pRGBColor.Green = 128
Set pSymbol = pLineSymbol
pSymbol.ROP2 = esriROPNotXOrPen
pDisplay.SetSymbol pLineSymbol
pDisplay.DrawPolyline pGeometry
Sleep pSleepTime
pDisplay.DrawPolyline pGeometry
End Sub
Private Sub FlashPolygon(pDisplay As IScreenDisplay, _
pGeometry As IGeometry, _
pSleepTime As Long)
Dim pFillSymbol As ISimpleFillSymbol
Dim pSymbol As ISymbol
Dim pRGBColor As IRgbColor
Set pFillSymbol = New SimpleFillSymbol
pFillSymbol.Outline = Nothing
Set pRGBColor = New RgbColor
pRGBColor.Green = 128
Set pSymbol = pFillSymbol
pSymbol.ROP2 = esriROPNotXOrPen
pDisplay.SetSymbol pFillSymbol
pDisplay.DrawPolygon pGeometry
Sleep pSleepTime
pDisplay.DrawPolygon pGeometry
End Sub
Private Sub FlashPoint(pDisplay As IScreenDisplay, _
pGeometry As IGeometry, _
pSleepTime As Long)
Dim pMarkerSymbol As ISimpleMarkerSymbol
Dim pSymbol As ISymbol
Dim pRGBColor As IRgbColor
Set pMarkerSymbol = New SimpleMarkerSymbol
pMarkerSymbol.Style = esriSMSCircle
Set pRGBColor = New RgbColor
pRGBColor.Green = 128
Set pSymbol = pMarkerSymbol
pSymbol.ROP2 = esriROPNotXOrPen
pDisplay.SetSymbol pMarkerSymbol
pDisplay.DrawPoint pGeometry
Sleep pSleepTime
pDisplay.DrawPoint pGeometry
End Sub