# Loading an .swf file w/ actionscript from the library

**URL:** <https://forum.kirupa.com/t/loading-an-swf-file-w-actionscript-from-the-library/223125>\
**Category:** flash\
**Created:** [April 19, 2007, 6:53pm UTC](https://forum.kirupa.com/t/loading-an-swf-file-w-actionscript-from-the-library/223125 "2007-04-19T18:53:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TJM2007](https://avatars.discourse-cdn.com/v4/letter/t/9f8e36/32.png) [@TJM2007](https://forum.kirupa.com/u/TJM2007)\
**Post date:** [April 19, 2007, 6:53pm UTC](https://forum.kirupa.com/t/loading-an-swf-file-w-actionscript-from-the-library/223125/1 "2007-04-19T18:53:08Z")

</div>

I’m stumped… I’m trying to load an .swf file which contains quite a bit of actionscripting from the library. Only problem is when I use the “attachmovie” command the game loads but the the playhead on the timeline just runs through the game within 1 second and doesn’t even bother to stop when it hits the “stop” command. Anyone out there happen to have the solution?
