# Loadmovie problem

**URL:** <https://forum.kirupa.com/t/loadmovie-problem/119786>\
**Category:** Uncategorized\
**Created:** [August 18, 2004, 1:02am UTC](https://forum.kirupa.com/t/loadmovie-problem/119786 "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/119786/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:** ![Dulcinea](https://avatars.discourse-cdn.com/v4/letter/d/bbe5ce/32.png) [@Dulcinea](https://forum.kirupa.com/u/Dulcinea)\
**Post date:** [August 18, 2004, 2:43am UTC](https://forum.kirupa.com/t/loadmovie-problem/119786/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:** ![lunatic](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@lunatic](https://forum.kirupa.com/u/lunatic)\
**Post date:** [August 18, 2004, 2:49am UTC](https://forum.kirupa.com/t/loadmovie-problem/119786/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:** ![SlowRoasted](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@SlowRoasted](https://forum.kirupa.com/u/SlowRoasted)\
**Post date:** [August 18, 2004, 2:51am UTC](https://forum.kirupa.com/t/loadmovie-problem/119786/4 "2004-08-18T02:51:42Z")

</div>

ok ill try that out, thanks;)

---

<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 19, 2004, 6:48pm UTC](https://forum.kirupa.com/t/loadmovie-problem/119786/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:** ![SlowRoasted](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@SlowRoasted](https://forum.kirupa.com/u/SlowRoasted)\
**Post date:** [August 20, 2004, 3:29am UTC](https://forum.kirupa.com/t/loadmovie-problem/119786/6 "2004-08-20T03:29:53Z")

</div>

_bump_
