# Linking different swf files

**URL:** <https://forum.kirupa.com/t/linking-different-swf-files/94333>\
**Category:** Uncategorized\
**Created:** [November 11, 2003, 5:09pm UTC](https://forum.kirupa.com/t/linking-different-swf-files/94333 "2003-11-11T17:09:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rc74](https://avatars.discourse-cdn.com/v4/letter/r/dbc845/32.png) [@rc74](https://forum.kirupa.com/u/rc74)\
**Post date:** [November 11, 2003, 5:09pm UTC](https://forum.kirupa.com/t/linking-different-swf-files/94333/1 "2003-11-11T17:09:46Z")

</div>

Hi,

Im still fairly new to Flash and im trying to link different .swf files together…

Heres the problem - ive got a swf animation which acts as my ‘home page’ - it contains a small intro and then my 4 buttons which link to other documents appear.

I’m using the loadmovie action on each button to link to a different swf file - each swf file contains all the same layers as used in my opening movie (ie : an image and navigation) but there is no animation - the pages will be static but just containing the extra layer of text they need. This seems to work fine but… when i click on the link ‘home’ to take me back to my original swf file it loads ok but keeps repeating… I had already unticked the ‘loop’ command in the publish preview section… Has anyone got any ideas?

The code or actionscript i am using for this is :

on (release) {  
loadMovie(“myfile.swf”, “\_root”);  
}

Ive taken some tips from Kirupas page on creating a full flash site but ive not seen any ideas withthis problem?? Anyone?!!

Cheers … :cool:
