# Stopping a swf reload

**URL:** <https://forum.kirupa.com/t/stopping-a-swf-reload/244956>\
**Category:** flash\
**Created:** [November 24, 2007, 1:40am UTC](https://forum.kirupa.com/t/stopping-a-swf-reload/244956 "2007-11-24T01:40:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ursa](https://avatars.discourse-cdn.com/v4/letter/u/e56c9b/32.png) [@Ursa](https://forum.kirupa.com/u/Ursa)\
**Post date:** [November 24, 2007, 1:40am UTC](https://forum.kirupa.com/t/stopping-a-swf-reload/244956/1 "2007-11-24T01:40:41Z")

</div>

I’ve been struggling with a solution to this problem and it seems as though it should be relatively simple. I’ve got three movie clips in my main swf, which use to load other swf’s between them. I call them ldr\_1, ldr\_2 & ldr\_3. If ldr\_1 contains a button that will load a swf into ldr\_2, I’d like it to not reload every time the button is released. I’ve tried several variations, but stuck on this code (it is coded on the button):

on(release){  
if(\_root.ldr\_2!=cntnt\_1.swf,true) {  
loadMovie(“cntnt\_1.swf”, “\_root.ldr\_2”);  
}  
}

Can someone tell me what I have wrong?

Thanks
