RE: [Flashcoders] Cache Issue

2012-07-17 Thread Ted Lehr
beautious - thanks... did not think about the xml...


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com on behalf of Nathan Mynarcik
Sent: Mon 7/16/2012 3:27 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Cache Issue
 
add a query at the end of the xml string when loading.

var cb = new Date().getTime();

then when you load..

load('content.xml/?cb='+cb);
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Cache Issue

2012-07-16 Thread Ted Lehr
So I have a movie that is caching... it is loading XML and the changes in the 
xml is not always being reflected correctly...

I am adding a random variable to the .swf html code (i.e. 
news.swf?ref=65465465) but I am doing it all via javascript:

... ... ...
holder += 'param name=movie value=news.swf?ref='+ranNumb+'/';
... ... ...

document.getElementById('news').innerHTML=holder;



but it seems like it is still caching... any ideas on how I can do it 
differently?


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Cache Issue

2012-07-16 Thread Nathan Mynarcik
add a query at the end of the xml string when loading.

var cb = new Date().getTime();

then when you load..

load('content.xml/?cb='+cb);
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders