# Stopping an imported .swf

**URL:** https://forum.kirupa.com/t/stopping-an-imported-swf/24977
**Category:** flash
**Created:** [July 7, 2003, 9:24pm UTC](https://forum.kirupa.com/t/stopping-an-imported-swf/24977 "2003-07-07T21:24:38Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mkiii\_vr](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@mkiii\_vr](https://forum.kirupa.com/u/mkiii_vr)
#### Post date: [July 7, 2003, 9:24pm UTC](https://forum.kirupa.com/t/stopping-an-imported-swf/24977/1 "2003-07-07T21:24:38Z")

</div>

Ok i have an external .swf that i am importing into another .swf file… My problem is that once the exteranal file is loaded, it plays and then doesn’t respect the stop command at the end of the file and just loops… whats the deal?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 7, 2003, 9:44pm UTC](https://forum.kirupa.com/t/stopping-an-imported-swf/24977/2 "2003-07-07T21:44:44Z")

</div>

what’s the AS?

```auto
_root.stop();

```

?  
if that’s the AS, you have to remove “\_root.”

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 7, 2003, 9:50pm UTC](https://forum.kirupa.com/t/stopping-an-imported-swf/24977/3 "2003-07-07T21:50:00Z")

</div>

no. at the end of the imported file i just put “stop”
