Não cheguei a testar, mas tenta fazer isso:
http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001334.html
Caching
Flex applications reside entirely on the client. If the browser loads the
application, the application SWF file, plus externally loaded images and other
media files, are stored locally on the client in the browser's cache. These
files reside in the cache until cleared.
Storing a SWF file in the browser's cache can potentially expose the file to
people who would not otherwise be able to see it.
Revised 9/6/06: Fixed IE path to cache.
Broswer or operating system
Cache location
Internet Explorer
C:\Documents and Settings\username\Local Settings\Temporary Internet Files
Firefox on Windows
C:\Documents and Settings\username\Application
Data\Mozilla\Firefox\Profiles\{user_id}.default\Cache
UNIX
$HOME/.mozilla/firefox/{user_id}.default/Cache/
These files can remain in the cache even after the browser is closed.
To prevent client browsers from caching the SWF file, try setting the following
HTTP headers in the wrapper that returns the Flex application's SWF file:
Cache-control: no-cache, no-store, must-revalidate, max-age=-1
Pragma: no-cache, no-store
Expires: -1
________________________________
De: [email protected] [mailto:[EMAIL PROTECTED] Em nome de Luis
Carlos Quinhone
Enviada em: sexta-feira, 18 de janeiro de 2008 14:15
Para: [email protected]
Assunto: [flexdev] o Flex e o tal do Cache
Pessoal, estou usando o cabeçalho pra evitar deixar o SWF no cache, mas
não esta funcionando, tenho uma foto que é carregada na consulta ao BD, e
quando eu atualizo essa foto via upload, quando click no grid, ela continua
trazendo a antiga,só traz a nova quando eu vou no navegador e limpo o cache.
Estou usando Flex + AMFPHP + PHP, o Header do cache eu deixo junto com
a conexão, já que essa é chamada sempre que o contrutor da classe é executado.
Exista mais alguma coisa que se pode fazer pra evitar isso?
Att
Quinhone
--~--~---------~--~----~------------~-------~--~----~
Você recebeu esta mensagem porque está inscrito na lista "flexdev"
Para enviar uma mensagem, envie um e-mail para [email protected]
Para sair da lista, envie um email em branco para [EMAIL PROTECTED]
Mais opções estão disponíveis em http://groups.google.com/group/flexdev
-~----------~----~----~----~------~----~------~--~---