Check loader content

how can I distinguish between image and swf?

it works for image, but how can i ask if content is swf?

private function completeHandler(e:Event):void {
            
           
            
            if(e.target.content is Bitmap){
            
                _image = (Bitmap)(e.target.content);
            
            }
.........