# Loading an external swf with different lenght

**URL:** <https://forum.kirupa.com/t/loading-an-external-swf-with-different-lenght/253779>\
**Category:** Uncategorized\
**Created:** [March 5, 2008, 1:17am UTC](https://forum.kirupa.com/t/loading-an-external-swf-with-different-lenght/253779 "2008-03-05T01:17:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tombino](https://avatars.discourse-cdn.com/v4/letter/t/839c29/32.png) [@tombino](https://forum.kirupa.com/u/tombino)\
**Post date:** [March 5, 2008, 1:17am UTC](https://forum.kirupa.com/t/loading-an-external-swf-with-different-lenght/253779/1 "2008-03-05T01:17:45Z")

</div>

Hi,

I have a problem with loading another swf from the main one.  
In the main movie a have a button that can load another swf file, I use this code:

this.createEmptyMovieClip(“container”, this.getNextHighestDepth());  
play\_btn.onRelease = function(){  
container.loadMovie(“story.swf”)  
}

Is loading fine, but the problem is that the main movie has 230 frame, In the last frame I wrote:  
getURL("[[COLOR=#0000ff]http://www.myweb.com/home.asp",[/COLOR]](http://www.myweb.com/home.asp) window="\_self")

The loaded movie (story.swf) has 1300 frame.  
The issue is that also this movie at the 230th frame go to the url, I dont want that. I want that continue until the last one.

I am missing something and I dont know how fix it. Any help will be apreciate.

Thank you.

Regards,  
Tom
