[haXe] Avoiding cached content SWHX

Nicolas Cannasse ncannasse at motion-twin.com
Tue Feb 20 11:05:12 CET 2007


> Are there any tricks available to prevent SWHX caching the swf's it 
> loads.  As far as i can tell i cant use the ?nocache="+Math.random trick 
> appended to the URL, as the URL is a local file and the query string is 
> treated as part of the filename.  Stopping and restarting SWHX seems to 
> work, the problem is reloading content that has been changed since SWHX 
> started.

SWHX doesn't cache content. Maybe the Flash Player does.
You can override the swhx.Flash.getURL method in order to define your 
own behavior (for example by stripping the ?nocache part before loading 
the file).

Nicolas




More information about the Haxe mailing list