# Action script problem for load swf

**URL:** https://forum.kirupa.com/t/action-script-problem-for-load-swf/217185
**Category:** flash
**Created:** [February 23, 2007, 10:20pm UTC](https://forum.kirupa.com/t/action-script-problem-for-load-swf/217185 "2007-02-23T22:20:27Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![designer225](https://avatars.discourse-cdn.com/v4/letter/d/f0a364/32.png) [@designer225](https://forum.kirupa.com/u/designer225)
#### Post date: [February 23, 2007, 10:20pm UTC](https://forum.kirupa.com/t/action-script-problem-for-load-swf/217185/1 "2007-02-23T22:20:27Z")

</div>

I have a website I am creating. The homepage navigation bar has a slider. But now trying to link the navigations buttons to load external swf files I created separately into the main swf using an actionsript function, for some reason it won’t load.

I was trying to use this script on the buttons.

example  
on (release) {  
\_root.contents.loadMovie(“Contact\_Us.swf”);  
}

The swf is in the same location on my computer.

Does anyone have an idea what might be causing the problem. I am trying to load a scroll bar and some text when the link button is pressed, into the main flash document.
