This only happens, when the filename is exactly the same.
This is not a flash problem, but rather the problem of the browser.
The browser receives the request for that image - realizes, that the exact same request was made before, and delivers the image from the cache.