# Flash External Text, Caching

**URL:** <https://forum.kirupa.com/t/flash-external-text-caching/329794>\
**Category:** flash\
**Created:** [October 16, 2012, 5:36pm UTC](https://forum.kirupa.com/t/flash-external-text-caching/329794 "2012-10-16T17:36:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_Lad](https://avatars.discourse-cdn.com/v4/letter/c/eada6e/32.png) [@Chris\_Lad](https://forum.kirupa.com/u/Chris_Lad)\
**Post date:** [October 16, 2012, 5:36pm UTC](https://forum.kirupa.com/t/flash-external-text-caching/329794/1 "2012-10-16T17:36:29Z")

</div>

[COLOR=#000000][FONT=verdana]Hey,[/FONT][/COLOR]  
[COLOR=#000000][FONT=verdana]So I load text in dynamic text fields via a css file (the css file just works the same way as a .txt file being loading externally) [/FONT][/COLOR]  
[COLOR=#000000][FONT=verdana]I want to know how I can stop the .css file from being cached I’v tried a number of things like: [/FONT][/COLOR]

Code:

```auto
<link href="/Pages.css?1350407329" rel="stylesheet" type="text/css" /&glt;<-- RENDERS --><link href="/Pages.css?1234567890" rel="stylesheet" type="text/css" /&glt;<link rel="stylesheet" type="text/css" href="Pages.css?Tuesday 16th of October 2012 01:08:49 PM" /><META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">

```

[COLOR=#000000][FONT=verdana]Non work so now I want to try and make flash forget the file and load it again each time someone visits [/FONT][/COLOR]  
[COLOR=#000000][FONT=verdana]This is kinda what i had in mind but i can’t seem to make it work [/FONT][/COLOR][COLOR=#000000][FONT=verdana]:[/FONT][/COLOR]

[COLOR=#000000][FONT=verdana]ActionScript Code:

```auto
[COLOR=#993300]stop[/COLOR]();death = [COLOR=#993300]new[/COLOR] [COLOR=#993300]Date[/COLOR]();kill = death.[COLOR=#993300]getTime[/COLOR]();myData = [COLOR=#993300]new[/COLOR] [COLOR=#993300]LoadVars[/COLOR]();myData.[COLOR=#993300]onLoad[/COLOR] = [COLOR=#993300]function[/COLOR] (){ TopList.[COLOR=#993300]htmlText[/COLOR] = [COLOR=#993300]this[/COLOR].TopList;};myData.[COLOR=#993300]load[/COLOR]([COLOR=#0000FF]"[/COLOR]Pages.css&kill=kill"[COLOR=#0000FF]); [/COLOR]

```

[/FONT][/COLOR]

[COLOR=#000000][FONT=verdana]any ideas to make the flash file request a new Pages.css each time it loads?  
[/FONT][/COLOR]  
I Would Even settle for a Button code that Forces flash to request the new css file when its pressed just anything to stop the Pages.css from caching.  
[COLOR=#000000][FONT=verdana]thanks in advance[/FONT][/COLOR]
