# Loadmovie image scroller?!

**URL:** <https://forum.kirupa.com/t/loadmovie-image-scroller/29867>\
**Category:** Uncategorized\
**Created:** [September 1, 2003, 8:14am UTC](https://forum.kirupa.com/t/loadmovie-image-scroller/29867 "2003-09-01T08:14:51Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![R41](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@R41](https://forum.kirupa.com/u/R41)\
**Post date:** [September 1, 2003, 8:14am UTC](https://forum.kirupa.com/t/loadmovie-image-scroller/29867/1 "2003-09-01T08:14:51Z")

</div>

hi evryone. i need help. i 've just made a simple image scroller, i’ve publish it as a swf file, it works fine. now i want to loadmovie that file onto another flash project, i tried using \_root.web.loadMovie(“hapus.swf”) . it shows the images, but it doesn’t scroll. what’s 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:** [September 1, 2003, 10:25am UTC](https://forum.kirupa.com/t/loadmovie-image-scroller/29867/2 "2003-09-01T10:25:54Z")

</div>

Maybe you are using Absolute paths in making you scroller that’s why the script didn’t work when you loaded it into another SWF. Instead of using \_root use \_parent instead. 🙂

---

<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:** [September 1, 2003, 10:46am UTC](https://forum.kirupa.com/t/loadmovie-image-scroller/29867/3 "2003-09-01T10:46:52Z")

</div>

hello, thanks for the reply, but i couldnt get it to work, where do i put the \_parent, on the loadmovie action? i tried that but it didn’t work… what should i change in the scroller file?

---

<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:** [September 1, 2003, 10:48am UTC](https://forum.kirupa.com/t/loadmovie-image-scroller/29867/4 "2003-09-01T10:48:02Z")

</div>

okay post your fla so i can take a look at it

---

<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:** [September 1, 2003, 10:48am UTC](https://forum.kirupa.com/t/loadmovie-image-scroller/29867/5 "2003-09-01T10:48:26Z")

</div>

That depends on the strucutre of the scroller. Can you post it here ? It is most likely a problem with the paths.

\*Too late …

---

<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:** [September 1, 2003, 10:53am UTC](https://forum.kirupa.com/t/loadmovie-image-scroller/29867/6 "2003-09-01T10:53:33Z")

</div>

its quite large, i’ll upload it later…  
i tried using  
on (press) {  
loadMovieNum(“hapusyah.swf”, \_parent.loadmc);  
}  
but all it does is it replaces the whole scene.

---

<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:** [September 1, 2003, 10:55am UTC](https://forum.kirupa.com/t/loadmovie-image-scroller/29867/7 "2003-09-01T10:55:41Z")

</div>

remove the \_parent part and leave only loadMC

```auto

//try this script...
on (press) {
loadMovie("hapusyah.swf", "loadmc");
}

```

I bet that your movieclip target is on the same timeline as your button so…

---

<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:** [September 1, 2003, 11:01am UTC](https://forum.kirupa.com/t/loadmovie-image-scroller/29867/8 "2003-09-01T11:01:16Z")

</div>

nope. it still replaces the whole scene. the button is on a movie clip.

---

<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:** [September 1, 2003, 11:04am UTC](https://forum.kirupa.com/t/loadmovie-image-scroller/29867/9 "2003-09-01T11:04:53Z")

</div>

uhm okay let me see the file

---

<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:** [September 1, 2003, 11:05am UTC](https://forum.kirupa.com/t/loadmovie-image-scroller/29867/10 "2003-09-01T11:05:47Z")

</div>

now when i use \_root, if i click it, it plays the file on internet explorer popup window

on (press) {  
loadMovieNum(“hapusyah.swf”, \_root.loadmc);  
}

---

<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:** [September 1, 2003, 11:05am UTC](https://forum.kirupa.com/t/loadmovie-image-scroller/29867/11 "2003-09-01T11:05:51Z")

</div>

You used loadMovieNum, which is used to load movieclips on a level, but you specified a movieclip. For more info about loadMovieNum, [click here](http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary424.html)

Try using loadmc.loadMovie(“hapusyah.swf”); Make sure the path to loadmc is correct.

\*Oh and make sure you gave instance names.

---

<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:** [September 1, 2003, 11:20am UTC](https://forum.kirupa.com/t/loadmovie-image-scroller/29867/12 "2003-09-01T11:20:32Z")

</div>

haha, youre right, i try using loadmovienum with level 1 and it works, thanks guys!!! i really have alot to learn, and i don’t know where to begin.

---

<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:** [September 1, 2003, 11:59am UTC](https://forum.kirupa.com/t/loadmovie-image-scroller/29867/13 "2003-09-01T11:59:06Z")

</div>

Welcome 🙂 Well, [kirupa.com](http://kirupa.com) is the best place to begin =)

---

<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:** [September 1, 2003, 1:09pm UTC](https://forum.kirupa.com/t/loadmovie-image-scroller/29867/14 "2003-09-01T13:09:31Z")

</div>

okay, here goes a new problem, the loaded swf sticks on top left, how can i move it to another position? the target loadmovie doesn’t work, i dont know why. it doesnt even showup.

---

<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:** [September 1, 2003, 1:17pm UTC](https://forum.kirupa.com/t/loadmovie-image-scroller/29867/15 "2003-09-01T13:17:46Z")

</div>

– okay, here goes a new problem, the loaded swf sticks on top left, how can i move it to another position?

\_level1.\_x = 64  
\_level1.\_y = 53

I think 🙂

– the target loadmovie doesn’t work, i dont know why. it doesnt even showup.

What do you mean with “the target loadmovie” ?

---

<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:** [September 1, 2003, 1:25pm UTC](https://forum.kirupa.com/t/loadmovie-image-scroller/29867/16 "2003-09-01T13:25:22Z")

</div>

imean, right now i use loadmovie level, not loadmovie target, because it doesnt work, it only shows the images without the scrolling. with loadmovie target i can freely put an empty MC on the timeline and the movie will load there, right?

im back at step one again.

the code doesnt work, do u have another one i could try? =).

---

<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:** [September 2, 2003, 2:40am UTC](https://forum.kirupa.com/t/loadmovie-image-scroller/29867/17 "2003-09-02T02:40:13Z")

</div>

If you posted your file before we could have understand your problem better. You’re leading us in a charade! Post your file!
