> Dear All
>  
> We are in development of an ERP application in Flex.
> Initially we may rollout few modules for testing, as the change request will
> trigger during this process. We need to release new version and so on.
> Like to know how to clear the client SWF version to replace the new version of
> it.
> Please advice.
>  
>  
> Thanking You
> Siva Kumar S

What you can do is instead of having your page that embeds the swf static,
create it with some sort of server side language (IE PHP, etc) and have it
append a url string to the swf itself with something like a date/time stamp.
That way your page URL never changes.

So then instead of your embed code (this is old simplified code for example
only) having something like:

<object width="550" height="400">
<param name="movie" value="somefilename.swf">
<embed src="somefilename.swf" width="550" height="400">
</embed>
</object>

Your server side page would write it out something like:

<object width="550" height="400">
<param name="movie" value="somefilename.swf?2008091110057">
<embed src="somefilename.swf?2008091110057" width="550" height="400">
</embed>
</object>

And so the portion after the "?" is just something like a datestamp...
Always changing.... I am pretty sure that will make it not cache.

D



Reply via email to