# Cache Issues

**URL:** <https://forum.kirupa.com/t/cache-issues/124324>\
**Category:** Uncategorized\
**Created:** [October 2, 2004, 6:30am UTC](https://forum.kirupa.com/t/cache-issues/124324 "2004-10-02T06:30:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wizard](https://avatars.discourse-cdn.com/v4/letter/w/a87d85/32.png) [@wizard](https://forum.kirupa.com/u/wizard)\
**Post date:** [October 2, 2004, 6:30am UTC](https://forum.kirupa.com/t/cache-issues/124324/1 "2004-10-02T06:30:03Z")

</div>

Yep, it’s another question about cache issues.

Let me get down to it.

How would I incorporate this: [Cache tut., with this one: [URL=http://www.kirupa.com/developer/mx2004/transitions.htm]Transitions Between External Files](http://www.kirupa.com/developer/actionscript/tricks/cache.htm)?

The script on the transitions tutorial is:[AS]  
on (release) {

if (\_root.currMovie == undefined) {

\_root.currMovie = “main”;  
container.loadMovie(“main.swf”);  
} else if (\_root.currMovie != “main”) {  
if (container.\_currentframe \>= container.midframe) {

\_root.currMovie = “main”;  
container.play();

}

}

}  
[/AS]I think I may have an idea, but would like to hear it from someone else.

How would I add the script from the cache tutorial into this script?
