PDA

View Full Version : Help! Old image reappearing in new code...


esc_oblivion
05-10-2004, 11:01 AM
Hey, I know it's been a while, but I've been working on figuring out how to effectively make components. I've done a nice design for a window, but when I'm testing out my components (image slices) I keep seeing one of my early prototype images just randomly showing up when my window app compiles... Any idea why this is? It seems like it could be a bug... How do I solve it and how can I avoid it in the future?

Just to be absolutely clear, I've emptied my browsers cache, renamed the current correct file to a different name, put the new name in the code for that file, and deleted the problematic image out of my /images/ directory... but still no dice, somehow it keeps showing up. Laszlo must have a cache of it's own that is storing this image and dropping it in at every compile incorrectly.

esc_oblivion
05-10-2004, 11:16 AM
Somehow I had managed to rename the wrong file to my new filename... so Laszlo was working correctly - I was just being a moron.

antun
05-10-2004, 11:18 AM
Laszlo does have an extensive cacheing system of its own. You can clear the LPS cache using an lzt request type - anylzxfile.lzx?lzt=clearcache should do it. It's possible that you're still seeing a cached version of your app.

Now as for images appearing while the app is loading, in my experience, that's usually an app issue - an image that gets loaded over HTTP at run-time, and then hidden later, or something along those lines. If you haven't set the size of the image's view ahead of time, it can cause funny resizing issues when the image loads and the view adjusts to fit the dimensions of the resource.

-Antun