# Loadmovie problem

**URL:** <https://forum.kirupa.com/t/loadmovie-problem/61369>\
**Category:** Uncategorized\
**Created:** [August 18, 2004, 1:02am UTC](https://forum.kirupa.com/t/loadmovie-problem/61369 "2004-08-18T01:02:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SlowRoasted](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@SlowRoasted](https://forum.kirupa.com/u/SlowRoasted)\
**Post date:** [August 18, 2004, 1:02am UTC](https://forum.kirupa.com/t/loadmovie-problem/61369/1 "2004-08-18T01:02:00Z")

</div>

ok, in my external swf i have this code in the last frame:

gotoAndPlay(‘cloudstart’);

here is my loadmovie code:

\_root.load.loadMovie(“logo.swf”);

so its looping through some animation over and over but when i load that swf into my main movie it wont loop, it plays the entire timeline over again, what am i doing wrong?

---

<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:** [August 18, 2004, 2:43am UTC](https://forum.kirupa.com/t/loadmovie-problem/61369/2 "2004-08-18T02:43:49Z")

</div>

when you load a swf with loadMovie, the swf becomes part of the movie where it has been loaded (like another movie clip), so if you write in your logo.swf movie “\_root” you are making reference to the root where the movie its loaded (where ‘cloudstrat’ doesnt exists)  
use this code in your logo instead:  
this.gotoAndPlay(‘cloudstart’);

---

<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:** [August 18, 2004, 2:49am UTC](https://forum.kirupa.com/t/loadmovie-problem/61369/3 "2004-08-18T02:49:45Z")

</div>

Also, ‘load’ is one of those reserved words in flash, like ‘number’ or ‘text’. You are using it like its an instance name of a movie clip which will confuse flash.

:hr:

---

<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:** [August 18, 2004, 2:51am UTC](https://forum.kirupa.com/t/loadmovie-problem/61369/4 "2004-08-18T02:51:42Z")

</div>

ok ill try that out, thanks;)

---

<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:** [August 19, 2004, 6:48pm UTC](https://forum.kirupa.com/t/loadmovie-problem/61369/5 "2004-08-19T18:48:58Z")

</div>

dulcinea, do i put that gotoandplay in the keyframe right after the loadmovie? Im not understanding where i put the this.gotoAndPlay(‘cloudstart’); on the main timeline

---

<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:** [August 20, 2004, 3:29am UTC](https://forum.kirupa.com/t/loadmovie-problem/61369/6 "2004-08-20T03:29:53Z")

</div>

_bump_
