Okay, I kept running into the headache of images being cached within my flex application. I found a simple workaround, appending a URL parameter of the current time to the image’s path.
For example, the path img/simple.jpg becomes img/simple.jpg?date=12010103. Each time the page is refreshed, a new date parameter is generated, fixing our cache headache.
The flex code
url + "?d=" + (new Date()).getMilliseconds();
And the php code
$url . "?d=" . date("U");
Those two small take care of the images being cached.