# Linking to External SWF's

**URL:** <https://forum.kirupa.com/t/linking-to-external-swfs/143152>\
**Category:** Uncategorized\
**Created:** [April 3, 2005, 6:56pm UTC](https://forum.kirupa.com/t/linking-to-external-swfs/143152 "2005-04-03T18:56:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![True\_Blue\_32](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@True\_Blue\_32](https://forum.kirupa.com/u/True_Blue_32)\
**Post date:** [April 3, 2005, 6:56pm UTC](https://forum.kirupa.com/t/linking-to-external-swfs/143152/1 "2005-04-03T18:56:10Z")

</div>

Ok, there’s go to be an easy way to do this, i have three HTML pages each conataining a SWF.  
I need to link the three pages together, so for instance from the front page i need to link via a button to another SWF file that is contained within square.html. If i go to the button in question and then type in the following actionscript:

on (release) {  
gotoAndPlay(“square.html”);  
}

I was hoping this would open up “square.html” and then play the SWF, can somebody please tell me where i’m going wrong with this?

Thanks.
