checking to see if swf exists before checking for image info to prevent issue when E_ALL is one with error to exception conversion