Displaying dynamically created png images as an animation
Posted: Wed Feb 02, 2005 7:40 am
I have 8 buttons (with images) on a page generated by a php script. The buttons control an animation of 24 images dynamically created on the server and downloaded using another php script, invoked 24 times. The first time the display page is called, the window status bar shows '8 items remaining' and the animation and buttons are blank until the 24 animation images are loaded. The button images then appear and the animation starts. This is what I want.
The problem is that when I go to this page again, for new images, the button images appear immediately, the status bar this time shows '24 items remaining'. Now, the downloading is frequently BUT NOT ALWAYS! unsuccessful on one or more of the images. So my animation shows blanks. The problem is solved on refreshing the page, and if I clear the cached button images. I have sent session_cache_limiter('no-cache') in an effort to get back to the first visit state, but it makes no difference. The images always appear in the temp files, and I may or may not get blanks in the animation. the buttons have .png static images. The animation are .png created dynamically.
Problem is very frequent in IE6+XP, also seen in IE6+W2K, but I don't remember it with IE5.5
It seems to be an IE threading problem???
The problem is that when I go to this page again, for new images, the button images appear immediately, the status bar this time shows '24 items remaining'. Now, the downloading is frequently BUT NOT ALWAYS! unsuccessful on one or more of the images. So my animation shows blanks. The problem is solved on refreshing the page, and if I clear the cached button images. I have sent session_cache_limiter('no-cache') in an effort to get back to the first visit state, but it makes no difference. The images always appear in the temp files, and I may or may not get blanks in the animation. the buttons have .png static images. The animation are .png created dynamically.
Problem is very frequent in IE6+XP, also seen in IE6+W2K, but I don't remember it with IE5.5
It seems to be an IE threading problem???